Planeshift
|
Multipliers. More...
#include <buffable.h>
Public Member Functions | |
void | Buff (const ActiveSpell *owner, float x) |
virtual void | Cancel (const ActiveSpell *owner) |
Multiplier () | |
float | Value () |
virtual | ~Multiplier () |
Protected Attributes | |
csList< csTuple2< const ActiveSpell *, float > > | buffs |
float | cached |
Multipliers.
While most things are additive, some are purely multiplier values - for example, attack and defense modifiers. This is fully analogous to buffables, multiplicative.
Definition at line 229 of file buffable.h.
Multiplier::Multiplier | ( | ) | [inline] |
Definition at line 232 of file buffable.h.
virtual Multiplier::~Multiplier | ( | ) | [inline, virtual] |
Definition at line 236 of file buffable.h.
void Multiplier::Buff | ( | const ActiveSpell * | owner, |
float | x | ||
) | [inline] |
Definition at line 243 of file buffable.h.
virtual void Multiplier::Cancel | ( | const ActiveSpell * | owner | ) | [inline, virtual] |
Implements iSpellModifier.
Definition at line 249 of file buffable.h.
float Multiplier::Value | ( | ) | [inline] |
Definition at line 238 of file buffable.h.
csList< csTuple2<const ActiveSpell*, float> > Multiplier::buffs [protected] |
Definition at line 271 of file buffable.h.
float Multiplier::cached [protected] |
Definition at line 270 of file buffable.h.