[Spell] Paladin Reckoning bomb with the limitation.

Should allow to accumulate the next swing extra attacks not above 4.
This commit is contained in:
Olion 2015-09-25 10:37:42 +03:00 committed by Antz
parent 2714c63656
commit f26fb7adc6

View File

@ -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*/)