*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
This commit is contained in:
QAston
2009-04-19 20:45:55 +02:00
parent 580089ed1a
commit dcc7b99982
6 changed files with 13 additions and 16 deletions
+4 -2
View File
@@ -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);
}