[7558] Implement command: .learn all_mypettalents Author: VladimirMangos

Also output more correct messages at use .reset talents to pet

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-28 16:25:42 -06:00
1 parent e76a15491b
commit ce8462ccf9
9 files changed
+117 -8

No files matched your search

+7
View File
@@ -1748,3 +1748,10 @@ void Pet::CastPetAura(PetAura const* aura)
CastSpell(this, auraId, true);
}
void Pet::learnSpellHighRank(uint32 spellid)
{
learnSpell(spellid,false);
if(uint32 next = spellmgr.GetNextSpellInChain(spellid))
learnSpellHighRank(next);
}