24 : mLow(pCondition->Int(1)), mHigh(pCondition->Int(2)) {
36 return mLow <= nHealth && nHealth <= mHigh;
Reference-counted array of script data nodes.
Definition dataarray.h:20
HealthCondition(DataArray *pCondition)
Definition healthcondition.h:23
bool Test() override
Test the condition.
Definition healthcondition.h:34
~HealthCondition() override=default
Destroy the object.
A test a trigger makes before its actions start.
Definition triggercondition.h:11
TriggerMgr TheTriggerMgr
The trigger registry.