diff options
author | QAston <none@none> | 2009-04-19 20:45:55 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-04-19 20:45:55 +0200 |
commit | dcc7b999827553b5a36d64fbe5c5fba4c3b27b69 (patch) | |
tree | db11e75768b09274927a268f0050222bfa7c09b8 /src/game/DBCStores.cpp | |
parent | 580089ed1afa856e5e44c20c92816192b2adb908 (diff) |
*Update petLevelupSpellLearn code
*Remove triggered aura of shadow embrace when main aura expires.
--HG--
branch : trunk
rename : sql/updates/2773_world_spell_linked_spell.sql => sql/updates/2814_world_spell_linked_spell.sql
Diffstat (limited to 'src/game/DBCStores.cpp')
-rw-r--r-- | src/game/DBCStores.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/DBCStores.cpp b/src/game/DBCStores.cpp index e1fe1eba5e7..c643dc4613a 100644 --- a/src/game/DBCStores.cpp +++ b/src/game/DBCStores.cpp @@ -334,10 +334,12 @@ void LoadDBCStores(const std::string& dataPath) if(skillLine->skillId != cFamily->skillLine[0] && skillLine->skillId != cFamily->skillLine[1]) continue; + if(spellInfo->spellLevel) + continue; // Passive spell has to have spellfamilyflags if name present (need to not apply 20782) - if (spellInfo->Attributes & SPELL_ATTR_UNK18 && spellInfo->SpellFamilyName && !spellInfo->SpellFamilyFlags) - continue; + //if (spellInfo->Attributes & SPELL_ATTR_UNK18 && spellInfo->SpellFamilyName && !spellInfo->SpellFamilyFlags) + // continue; sPetFamilySpellsStore[i].insert(spellInfo->Id); } |