Module action.spell.Aura

This is the spell aura module.

Functions

Spell:AuraActiveCount (hostile) Returns the count of active auras (buffs or debuffs) for a given spell ID.
Spell:AuraActiveUnits (hostile) Returns a list of units that have a specific aura (buff or debuff) active.
Spell:AnyBuffUp () Checks if any friendly unit has the spell's buff active.
Spell:AnyDebuffUp () Checks if any hostile unit has the spell's debuff active.


Functions

Spell:AuraActiveCount (hostile)
Returns the count of active auras (buffs or debuffs) for a given spell ID.

Parameters:

  • hostile boolean True if checking for debuffs on hostile units, false for buffs on friendly units. Defaults to true.

Returns:

    number The number of units with the aura active.
Spell:AuraActiveUnits (hostile)
Returns a list of units that have a specific aura (buff or debuff) active.

Parameters:

  • hostile boolean True if checking for debuffs on hostile units, false for buffs on friendly units. Defaults to true.

Returns:

    table A table containing units with the aura active.
Spell:AnyBuffUp ()
Checks if any friendly unit has the spell's buff active.

Returns:

    boolean True if any friendly unit has the buff, false otherwise.
Spell:AnyDebuffUp ()
Checks if any hostile unit has the spell's debuff active.

Returns:

    boolean True if any hostile unit has the debuff, false otherwise.
generated by LDoc 1.5.0 Last updated 2025-08-07 15:27:51