*Add Aura::m_tickNumber to handle some script spells.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-13 18:15:26 -05:00
parent c5c6b4ff1b
commit 57b33b244f
2 changed files with 9 additions and 3 deletions
+2
View File
@@ -240,6 +240,7 @@ class TRINITY_DLL_SPEC Aura
void UpdateAuraDuration();
void SendAuraDurationForCaster(Player* caster);
void UpdateSlotCounterAndDuration();
uint32 GetTickNumber() const { return m_tickNumber; }
uint64 const& GetCasterGUID() const { return m_caster_guid; }
Unit* GetCaster() const;
@@ -321,6 +322,7 @@ class TRINITY_DLL_SPEC Aura
Unit* m_target;
int32 m_maxduration;
int32 m_duration;
uint32 m_tickNumber;
int32 m_timeCla;
uint64 m_castItemGuid; // it is NOT safe to keep a pointer to the item because it may get deleted
time_t m_applyTime;