From f26fb7adc603a9527418c9fa2560c1a6ee5928ac Mon Sep 17 00:00:00 2001 From: Olion Date: Fri, 25 Sep 2015 10:37:42 +0300 Subject: [PATCH] [Spell] Paladin Reckoning bomb with the limitation. Should allow to accumulate the next swing extra attacks not above 4. --- src/game/WorldHandlers/SpellEffects.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/game/WorldHandlers/SpellEffects.cpp b/src/game/WorldHandlers/SpellEffects.cpp index e78fc2ac..f3ceba51 100644 --- a/src/game/WorldHandlers/SpellEffects.cpp +++ b/src/game/WorldHandlers/SpellEffects.cpp @@ -4372,9 +4372,12 @@ void Spell::EffectAddExtraAttacks(SpellEffectIndex /*eff_idx*/) { return; } if (unitTarget->m_extraAttacks) - { return; } - - unitTarget->m_extraAttacks = damage; + { + if (m_spellInfo->Id == 20178 && unitTarget->m_extraAttacks < 4) + ++unitTarget->m_extraAttacks; // += damage would be more logical + } + else + unitTarget->m_extraAttacks = damage; } void Spell::EffectParry(SpellEffectIndex /*eff_idx*/)