*More correct handling of fly mod auras.

*Pets now learn all levelup spells.
*Fix lightning overload.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-05-02 16:08:52 +02:00
parent 8accbc0d09
commit a1f73a8a08
6 changed files with 51 additions and 22 deletions
+2 -3
View File
@@ -337,9 +337,8 @@ void LoadDBCStores(const std::string& dataPath)
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(skillLine->learnOnGetSkill != ABILITY_LEARNED_ON_GET_RACE_OR_CLASS_SKILL)
continue;
sPetFamilySpellsStore[i].insert(spellInfo->Id);
}