Fix primal tenacity reduce damage while stunned only on cat form, by laise

Closes issue #1143

--HG--
branch : trunk
This commit is contained in:
Tartalo
2010-06-24 15:32:11 +02:00
parent dbe29795d5
commit 38fa3c212b
+1 -1
View File
@@ -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;
} }