*Allow creatures to have up to 8 spells in creature_template.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-02-11 22:59:02 +01:00
parent 376788d761
commit c4fa6a5d54
5 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ m_meleeDamageSchoolMask(SPELL_SCHOOL_MASK_NORMAL),m_creatureInfo(NULL), m_DBTabl
m_regenTimer = 200;
m_valuesCount = UNIT_END;
for(int i =0; i<4; ++i)
for(int i =0; i<CREATURE_MAX_SPELLS; ++i)
m_spells[i] = 0;
m_CreatureSpellCooldowns.clear();