Skip to main content

Single Stat (Dynamic)

Unlike SingleStatCondition, this condition does not use a predefined comparison value. Instead, both the target value and the comparison value are retrieved dynamically from Stats.

Ships for Float and Int.

FieldDescription
Use Adapter / AdapterRuns the checked Stat through a Stat Value Adapter first.
Compare TypeSingle: compare with one Stat. Range: check against a min and a max Stat.
Compare ConditionEquals, Lower, Lower Or Equal, Greater, Greater Or Equal, Not Equals (Single).
Value StatThe Stat compared with (Stat From: which Actor + which key), with an optional adapter (Single).
Range Compare ConditionInside or Outside (Range).
Min Value Stat / Max Value StatThe range bounds, each a Stat From with an optional adapter (Range).

Example​

Health > MaxHealth

Both Health and MaxHealth are read at runtime and compared with each other.

Execute Health Below Threshold ships a real one, Condition_IsBelowHealthThreshold:

FieldValue
AdapterStatValueAdapter_ValueAs_Float — Health as Percentage Of Remaining
Compare ConditionLower Or Equal
Value StatExecuteThreshold

A target at 15 / 100 health against an ExecuteThreshold of 0.2: 0.15 ≤ 0.2 passes, and the target is executed. Raise ExecuteThreshold with an upgrade and the condition follows, with no change to the condition asset.