an effect that modifies an attribute while it is active by adding to it
https://adventure.softleitner.com/manual/effect
|
int | Modify (AttributeType attribute, int value) |
| applies the modification
|
|
void | Terminate () |
|
virtual void | Add (EffectBase prefab) |
|
virtual string | GetValue () |
|
virtual void | SetValue (string data) |
|
override string | ToString () |
|
◆ Modify()
int AdventureCore.AttributeEffect.Modify |
( |
AttributeType | attribute, |
|
|
int | value ) |
applies the modification
- Parameters
-
attribute | the attribute that will be modified |
value | the value before modification |
- Returns
- the modified value
Implements AdventureCore.IAttributeModifier.
◆ OnDestroy()
override void AdventureCore.AttributeEffect.OnDestroy |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Start()
override void AdventureCore.AttributeEffect.Start |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ ModifierAttributes
IEnumerable<AttributeType> AdventureCore.AttributeEffect.ModifierAttributes |
|
get |
◆ ModifierPriority
int AdventureCore.AttributeEffect.ModifierPriority |
|
get |
modifiers are applied in the order of their priority
this means higher priority modifiers are applied before lower ones
Implements AdventureCore.IAttributeModifier.