Skip to main content

Stat Value Adapter

Transforms a Stat value into a format suitable for further processing.

Stat Value Adapters are used wherever a field accepts one: a Stat Condition's Adapter, a Linker's Value Adapter, a Tween Effect's End Value Adapter, an Effect value read from a Stat.

Example​

Execute Health Below Threshold kills a target whose health drops below a fraction of its maximum. Its condition, Condition_IsBelowHealthThreshold, reads the target's Health through StatValueAdapter_ValueAs_Float (Value As → Percentage Of Remaining):

HealthAdapted value≤ ExecuteThreshold (0.2)?
80 / 1000.8no
15 / 1000.15yes — the target is executed