Returns true if the spell is available to the player's current specialization and talents. This does not check any immediate circumstances that would prevent the casting action itself; only that the spell is available within the constraints of active specialization/talent choices.
Used by BlizzardUI to determine the drawing of several class-specific power indicators such as Eclipse and Burning Embers.
See also Spell functions.
Signature:
isPlayerSpell
=
IsPlayerSpell(spellID)
Arguments:
spellID
- global spell ID (number
, spellID)
Returns:
isPlayerSpell
-true
if the given spell is available under the player's current specialization and talents (boolean
)