ActionAdventureKit 1.5.4
|
multiplies the stat of its character while it is active
for example a buff that increases attack by 50%
Public Member Functions | |
int | Modify (AttributeStat stat, int value) |
applies the modification | |
override void | Apply (CharacterBase character) |
override void | Reset (CharacterBase character) |
Public Member Functions inherited from AdventureCore.CharacterInstructionBase | |
void | Reset (CharacterBase character) |
reset whatever the instruction is affecting to its original value or remove whatever influence the instruction has had from the character | |
void | Apply (CharacterBase character) |
apply the instruction, whenever a new instruction is added all instructions are reset and applied again | |
Public Attributes | |
int | Priority = 999 |
AttributeStatValue[] | StatValues |
Properties | |
int | ModifierPriority [get] |
modifiers are applied in the order of their priority this means higher priority modifiers are applied before lower ones | |
IEnumerable< AttributeStat > | ModifierStats [get] |
which stats this modifier applies to | |
Properties inherited from AdventureCore.CharacterInstructionBase | |
object | Owner [get, set] |
Properties inherited from AdventureCore.IStatModifier |
|
inline |
applies the modification
attribute | the stat that will be modified |
value | the value before modification |
Implements AdventureCore.IStatModifier.
|
get |
modifiers are applied in the order of their priority
this means higher priority modifiers are applied before lower ones
Implements AdventureCore.IStatModifier.
|
get |
which stats this modifier applies to
Implements AdventureCore.IStatModifier.