diff options
author | QAston <none@none> | 2009-07-18 18:09:27 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-07-18 18:09:27 +0200 |
commit | 6443bf531c00423a6dca36c6f49bc91a991fbfe6 (patch) | |
tree | 1c1a4fb928a67e6dc96f79a601a7c553be9b8d38 /src/game/SpellAuras.h | |
parent | 9126cd99d201a69d6aee734468df47f39ab1f53f (diff) |
*Update damage calculation of Serpent Sting, Immolation Trap and Deadly Poison.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.h')
-rw-r--r-- | src/game/SpellAuras.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/SpellAuras.h b/src/game/SpellAuras.h index db747da3c54..4c37eeb121f 100644 --- a/src/game/SpellAuras.h +++ b/src/game/SpellAuras.h @@ -353,6 +353,7 @@ class TRINITY_DLL_SPEC AuraEffect virtual void Update(uint32 diff); uint32 GetTickNumber() const { return m_tickNumber; } + int32 GetTotalTicks () const { return m_amplitude ? (GetParentAura()->GetAuraMaxDuration() / m_amplitude) : 1;} bool IsAreaAura() const { return m_isAreaAura; } bool IsPeriodic() const { return m_isPeriodic; } bool IsPersistent() const { return m_isPersistent; } |