[Spell] Paladin Reckoning bomb with the limitation.
Should allow to accumulate the next swing extra attacks not above 4.
This commit is contained in:
parent
2714c63656
commit
f26fb7adc6
@ -4372,9 +4372,12 @@ void Spell::EffectAddExtraAttacks(SpellEffectIndex /*eff_idx*/)
|
|||||||
{ return; }
|
{ return; }
|
||||||
|
|
||||||
if (unitTarget->m_extraAttacks)
|
if (unitTarget->m_extraAttacks)
|
||||||
{ return; }
|
{
|
||||||
|
if (m_spellInfo->Id == 20178 && unitTarget->m_extraAttacks < 4)
|
||||||
unitTarget->m_extraAttacks = damage;
|
++unitTarget->m_extraAttacks; // += damage would be more logical
|
||||||
|
}
|
||||||
|
else
|
||||||
|
unitTarget->m_extraAttacks = damage;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Spell::EffectParry(SpellEffectIndex /*eff_idx*/)
|
void Spell::EffectParry(SpellEffectIndex /*eff_idx*/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user