Method Pet:UnlearnSpell [-] [+]

Makes the Pet unlearn a spell.

Synopsis

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

Arguments

number spellId

The spell ID to unlearn.

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 unlearned successfully.

Generated on
©2016 - Eluna Lua Engine