diff options
| author | thenecromancer <none@none> | 2010-03-19 08:30:39 +0100 |
|---|---|---|
| committer | thenecromancer <none@none> | 2010-03-19 08:30:39 +0100 |
| commit | f1266ebec3cec67e8f6af569018dd428149b0063 (patch) | |
| tree | 1a9e53ce4f83c7ed288cc4eeda8277746efc93be /src/game/SpellAuraEffects.cpp | |
| parent | e67274392eb25a65761dc2a4518c7d0e970de187 (diff) | |
Update player damage reduction by resilience combat rating
Apply crit damage reduction to periodic crit damage
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuraEffects.cpp')
| -rw-r--r-- | src/game/SpellAuraEffects.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/SpellAuraEffects.cpp b/src/game/SpellAuraEffects.cpp index 4042f5f8af4..f3e607537c7 100644 --- a/src/game/SpellAuraEffects.cpp +++ b/src/game/SpellAuraEffects.cpp @@ -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())) |
