diff options
author | Blaymoira <none@none> | 2009-02-28 19:00:28 +0100 |
---|---|---|
committer | Blaymoira <none@none> | 2009-02-28 19:00:28 +0100 |
commit | b375c0d89a6a0c3f5c88788ec988696d2dd33e70 (patch) | |
tree | 8042f3a652cf4ca43b064c29b95ab72b3a694a69 | |
parent | 142d8e765962096ecc9731df178692586d24fd49 (diff) |
*Update damage calculation of explosive shot - by rastikzzz
--HG--
branch : trunk
-rw-r--r-- | src/game/SpellAuras.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 49cd9426f1c..b518e5770cb 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3918,7 +3918,7 @@ void Aura::HandleAuraPeriodicDummy(bool apply, bool Real) { // Explosive Shot if (apply && !loading && caster) - m_modifier.m_amount +=caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 8 / 100; + m_modifier.m_amount +=caster->GetTotalAttackPowerValue(RANGED_ATTACK) * 16 / 100; break; } } @@ -6214,14 +6214,7 @@ void Aura::PeriodicDummyTick() if (!caster) return; int32 damage = m_modifier.m_amount; - // Full damage to target at 0 tick - if (m_duration > m_modifier.periodictime) - { - caster->CastCustomSpell(m_target, 53352, &damage, 0, 0, true, 0, this); - return; - } - damage/=4; - caster->CastCustomSpell(m_target, 56298, &damage, 0, 0, true, 0, this); + caster->CastCustomSpell(m_target, 53352, &damage, 0, 0, true, 0, this); return; } switch (spell->Id) |