Module br.player.spell
These functions help in retrieving information about spells.
Spell functions are stored in br.player.spell and can be utilized by `local spell = br.player.spell in your profile. `k` in the function represent the name in the actions list (Spec, Shared Class, Shared Global Lists) defined in System/List/Spells.lua
Functions
spell.k.castTime () | Returns the spell's cast time. |
spell.k.id () | Returns the spell's ID. |
spell.k.known () | Checks if the spell is known. |
spell.k.maxRange () | Returns the spell's max range. |
spell.k.minRange () | Returns the spell's min range. |
spell.k.name () | Returns the spell's name (localized). |
spell.k.rank () | Returns the spell's rank. |
spell.k.texture () | Returns the spell's icon texture. |
Functions
- spell.k.castTime ()
-
Returns the spell's cast time.
Returns:
-
number
- spell.k.id ()
-
Returns the spell's ID.
Returns:
-
number
- spell.k.known ()
-
Checks if the spell is known.
Returns:
-
boolean
- spell.k.maxRange ()
-
Returns the spell's max range.
Returns:
-
number
- spell.k.minRange ()
-
Returns the spell's min range.
Returns:
-
number
- spell.k.name ()
-
Returns the spell's name (localized).
Returns:
-
string
- spell.k.rank ()
-
Returns the spell's rank.
Returns:
-
number
- spell.k.texture ()
-
Returns the spell's icon texture.
Returns:
-
number