Skip to content

ContextualConditionBuffCounterReachedLimitFromZero

Class Documentation

Edit documentation

A buff condition for the BuffCounterSet situation that passes the first time the counter of mBuff reaches mCounterHighestReached since the counter was last 0.

The client fires the BuffCounterSet situation when the counter of a buff is set, and when a buff is removed (new value 0). The situation carries the buff, the new counter value, the change (new value minus old value) and the highest value that the counter reached since it was last 0, before this change.

The condition passes when the buff of the situation is mBuff, the test new value <op> mCounterHighestReached passes, and the highest value before the change is below mCounterHighestReached. After it passes, it passes again only when the counter has returned to 0 and climbs to the limit again.

Properties

CompareOp

U8 = 3
14.21
Edit documentation

How the new value is compared with mCounterHighestReached: the test is new value <op> mCounterHighestReached. The operator table is on IContextualCondition.

mCounterHighestReached

I32 = 0
Type history (2 revisions)
  • 13.15 - 16.19 U8
  • since 16.20 I32
Edit documentation

The counter limit.