# 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.

# Keyboard shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

# Search tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct` (or `str`), `enum`, `trait`, `typedef` (or `tdef`).

Generated on
© 2010 - 2024 Eluna Lua Engine