*Some changes to pet spell learning-now pet passives should work.
*Fix a crash with lifebloom. --HG-- branch : trunk
This commit is contained in:
1 parent
73749e13fe
commit
cfabdd2fd2
3 files changed
+9
-4
No files matched your search
@@ -2533,8 +2533,8 @@ void SpellMgr::LoadPetLevelupSpellMap()
|
||||
if (creatureFamily->skillLine[j]!=skillLine->skillId)
|
||||
continue;
|
||||
SpellEntry const *spell = sSpellStore.LookupEntry(skillLine->spellId);
|
||||
// not exist
|
||||
if(!spell)
|
||||
// not exist or passive (passives are handled elsewhere)
|
||||
if(!spell || IsPassiveSpell(spell))
|
||||
continue;
|
||||
// Make sure that triggered spells aren't learned
|
||||
if (!spell->SpellFamilyName && !spell->StartRecoveryCategory)
|
||||
|
||||
Reference in new issue
Block a user