Class Aura [-] [+]

The persistent effect of a Spell that remains on a Unit after the Spell has been cast.

As an example, if you cast a damage-over-time spell on a target, an Aura is put on the target that deals damage continuously.

Auras on your player are displayed in-game as a series of icons to the left of the mini-map.

Inherits all methods from: none

Methods

CalcMaxStacks

Returns the Aura's max stacks with the Unit's spell modifiers.

Data

Returns a runtime-persistent cache tied to the Aura. This data will remain for as long as the Aura exists, or until a server restart.

GetAuraId

Returns the ID of the Spell that caused this Aura to be applied.

GetCaster

Returns the Unit that casted the Spell that caused this Aura to be applied.

GetCasterGUID

Returns the GUID of the Unit that casted the Spell that caused this Aura to be applied.

GetCasterLevel

Returns the level of the Unit that casted the Spell that caused this Aura to be applied.

GetDuration

Returns the amount of time left until the Aura expires.

GetEffect

Returns the AuraEffect of the Aura.

GetMaxDuration

Returns the amount of time this Aura lasts when applied.

GetOwner

Returns the Unit that the Aura has been applied to.

GetSpellInfo

Returns the Aura's SpellInfo.

GetStackAmount

Returns the number of times the Aura has "stacked".

PreventDefaultAction

Prevents charge drop / cooldown execution on current Aura.

Remove

Remove this Aura from the Unit it is applied to.

SetDuration

Change the amount of time before the Aura expires.

SetMaxDuration

Change the maximum amount of time before the Aura expires.

SetStackAmount

Change the amount of times the Aura has "stacked" on the Unit.

Generated on
© 2010 - 2024 Eluna Lua Engine