Fix primal tenacity reduce damage while stunned only on cat form, by laise
Closes issue #1143 --HG-- branch : trunk
This commit is contained in:
@@ -1791,7 +1791,7 @@ void Unit::CalcAbsorbResist(Unit *pVictim, SpellSchoolMask schoolMask, DamageEff
|
|||||||
if (spellProto->SpellIconID == 2253)
|
if (spellProto->SpellIconID == 2253)
|
||||||
{
|
{
|
||||||
//reduces all damage taken while Stunned
|
//reduces all damage taken while Stunned
|
||||||
if (unitflag & UNIT_FLAG_STUNNED)
|
if (pVictim->m_form == FORM_CAT && (unitflag & UNIT_FLAG_STUNNED))
|
||||||
RemainingDamage -= RemainingDamage * currentAbsorb / 100;
|
RemainingDamage -= RemainingDamage * currentAbsorb / 100;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user