*Allow creatures to have up to 8 spells in creature_template.
--HG-- branch : trunk
This commit is contained in:
@@ -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();
|
||||
|
||||
+1
-1
@@ -219,7 +219,7 @@ enum UnitRename
|
||||
UNIT_RENAME_ALLOWED = 0x03
|
||||
};
|
||||
|
||||
#define CREATURE_MAX_SPELLS 4
|
||||
#define CREATURE_MAX_SPELLS 8
|
||||
|
||||
enum Swing
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user