*Update script for Loatheb.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-17 23:27:51 -05:00
parent 1d859b6ee4
commit a922f36da5
6 changed files with 82 additions and 99 deletions
+1
View File
@@ -33,6 +33,7 @@ void CreatureAI::OnCharmed(bool apply)
}
AISpellInfoType * CreatureAI::AISpellInfo;
TRINITY_DLL_SPEC AISpellInfoType * GetAISpellInfo(uint32 i) { return &CreatureAI::AISpellInfo[i]; }
void CreatureAI::DoZoneInCombat(Creature* creature)
{
+4
View File
@@ -81,6 +81,8 @@ class EventMap : private std::map<uint32, uint32>
public:
explicit EventMap() : m_phase(0), m_time(0) {}
uint32 GetTimer() const { return m_time; }
void Reset() { clear(); m_time = 0; m_phase = 0; }
void Update(uint32 time) { m_time += time; }
@@ -171,5 +173,7 @@ struct AISpellInfoType
uint32 cooldown;
};
TRINITY_DLL_SPEC AISpellInfoType * GetAISpellInfo(uint32 i);
#endif