IsTrainerServiceLearnSpell
Jump to navigation
Jump to search
This API only exists in Wrath Classic and Classic Era. |
Returns the type of trainer spell in the trainer window.
isLearnSpell, isPetLearnSpell = IsTrainerServiceLearnSpell(index)
Arguments
- index
- number - The index of the spell in the trainer window.
Returns
- isLearnSpell
- number - Returns 1 if the spell is a class spell or a learnable profession spell, nil otherwise.
- isPetLearnSpell
- number - Returns 1 if a pet spell, nil otherwise.
Patch changes
Patch 2.4.0 (2008-03-25): Removed.