StatusEffectData
Last updated
Last updated
group
The string group name.
name
The string name.
baseValue
The base value is used mainly when calculating how effects should be stacked. An Effect can use this value over its own.
allowEffectStacking
True if multiple StatusEffects of the same StatusEffectData can exist on the same MonoBehaviour.
nonStackingBehaviour
When stacking is not allowed, the behaviour determines how to resolve a situation when the same StatusEffect is added. See below for more information.
effects
The list of Effects.
customEffect
The CustomEffect reference. This is optional.
MatchHighestValue
Match Highest Value will take the value of the effect and recalculate the duration to the equivalent final value over the time. This is the recommended option for non-stacking behaviour.
TakeHighestValue
Regardless of the durations, use the effect with the highest value.
TakeHighestDuration
Regardless of the value, use the effect with the highest duration.
TakeNewest
Use the newest effect.
TakeOldest
Use the oldest effect.