Method Pet:UnlearnSpell [-] [+]
Makes the Pet unlearn a spell.
Synopsis
success = Pet:UnlearnSpell( spellId, learnPrev, clearAb )
Arguments
number spellIdThe spell ID to unlearn.
Valid numbers: integers from 0 to 4,294,967,295.
boolean learnPrevIf
true, learns the previous rank by default is false.
boolean clearAbIf
true, clears the spell from action bar by default is true.
Returns
boolean successtrueif the spell was unlearned successfully.