mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
*Some changes to pet spell learning-now pet passives should work.
*Fix a crash with lifebloom. --HG-- branch : trunk
This commit is contained in:
@@ -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