Skip to content

ContextualConditionCharacterBuffStackCount

16.2

Class Documentation

Edit documentation

A character subcondition that compares the stack count of a buff on the unit with Count.

The client looks up the buff of the spell object Buff on the unit. If the unit does not have the buff, the count is 0. Otherwise the count is the total number of stacks of the buff, or, with FilterBuffByCaster, the number of stacks that the unit selected by BuffCaster applied. Then it tests count <op> Count.

  • A missing buff gives the count 0. The test == 0 passes, and so does < Count with a Count above 0.
  • If Buff does not resolve to an object, or the unit has no buffs at all, the condition fails.

Properties

Count

U32 = 0
Edit documentation

The number of stacks that the count is compared with.

FilterBuffByCaster

Bool = false
Edit documentation

Counts only the stacks that the unit selected by BuffCaster applied.