mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 00:53:46 +00:00
@@ -429,8 +429,8 @@ void LoadDBCStores(const std::string& dataPath)
|
||||
|
||||
for (SkillLineAbilityEntry const* skillLine : sSkillLineAbilityStore)
|
||||
{
|
||||
SpellEntry const* spellInfo = sSpellStore.LookupEntry(skillLine->Spell);
|
||||
if (spellInfo && spellInfo->Attributes & SPELL_ATTR0_PASSIVE)
|
||||
SpellEntry const* spellEntry = sSpellStore.LookupEntry(skillLine->Spell);
|
||||
if (spellEntry && spellEntry->Attributes & SPELL_ATTR0_PASSIVE)
|
||||
{
|
||||
for (CreatureFamilyEntry const* cFamily : sCreatureFamilyStore)
|
||||
{
|
||||
@@ -439,7 +439,7 @@ void LoadDBCStores(const std::string& dataPath)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (spellInfo->SpellLevel)
|
||||
if (spellEntry->SpellLevel)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
@@ -449,7 +449,7 @@ void LoadDBCStores(const std::string& dataPath)
|
||||
continue;
|
||||
}
|
||||
|
||||
sPetFamilySpellsStore[cFamily->ID].insert(spellInfo->Id);
|
||||
sPetFamilySpellsStore[cFamily->ID].insert(spellEntry->Id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user