Update player damage reduction by resilience combat rating

Apply crit damage reduction to periodic crit damage

--HG--
branch : trunk
This commit is contained in:
thenecromancer
2010-03-19 08:30:39 +01:00
parent e67274392e
commit f1266ebec3
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -1268,7 +1268,10 @@ void AuraEffect::PeriodicTick(Unit * target, Unit * caster) const
bool crit = IsPeriodicTickCrit(target, caster);
if (crit)
{
damage = caster->SpellCriticalDamageBonus(m_spellProto, damage, target);
damage -= target->GetSpellCritDamageReduction(damage);
}
// only from players
if (IS_PLAYER_GUID(GetCasterGUID()))