ActionAdventureKit 1.7.3
|
multiplies the attributes of its character while it is active
for examplem a buff that increases strength by 10%
Public Member Functions | |
int | Modify (AttributeType attribute, 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 |
AttributeValue[] | AttributeValues |
Properties | |
int | ModifierPriority [get] |
modifiers are applied in the order of their priority this means higher priority modifiers are applied before lower ones | |
IEnumerable< AttributeType > | ModifierAttributes [get] |
which attributes this modifier applies to | |
Properties inherited from AdventureCore.CharacterInstructionBase | |
object | Owner [get, set] |
Properties inherited from AdventureCore.IAttributeModifier |
|
inline |
applies the modification
attribute | the attribute that will be modified |
value | the value before modification |
Implements AdventureCore.IAttributeModifier.
|
get |
which attributes this modifier applies to
Implements AdventureCore.IAttributeModifier.
|
get |
modifiers are applied in the order of their priority
this means higher priority modifiers are applied before lower ones
Implements AdventureCore.IAttributeModifier.