Originally Posted by
Madstrike
So it's a passive and not an actual buff?
Anticipation the spell is a passive. There's also Anticipation the buff which gets applied in stacks to the player, from the player, as you accumulate Anticipation charges. So to get the current amount of Anticipation charges, you would query UnitAura and check the amount of stacks you have. Eg,
Code:
local anticip_charges = (select(4,UnitAura('player','Anticipation'))) or 0
The relevant event to listen for to figure for when these charges are applied, removed is CLEU, sub-events SPELL_AURA_*, for which the source and destination are both `player` and the spellname is 'Anticipation'.