Method Pet:RemoveSpell [-] [+]

Removes a spell from the Pet's spellbook.

Synopsis

success = Pet:RemoveSpell( spellId, learnPrev, clearAb )

Arguments

number spellId

The spell ID to remove.

Valid numbers: integers from 0 to 4,294,967,295.

boolean learnPrev

If true, learns the previous rank by default is false.

boolean clearAb

If true, clears the spell from action bar by default is true.

Returns

boolean success

true if the spell was removed successfully.

Generated on
©2016 - Eluna Lua Engine