diff options
author | n0n4m3 <none@none> | 2010-01-13 14:33:28 +0300 |
---|---|---|
committer | n0n4m3 <none@none> | 2010-01-13 14:33:28 +0300 |
commit | 7d988221f70c620da2d694022caa0bfac0268299 (patch) | |
tree | c7609ef66080616cca6ced2c01ceb6d10f3f8988 | |
parent | 0bcf3b32f14d02452ced1f27ee203ffd389020d7 (diff) |
Allow apply spell mods for spell Eviscerate.
--HG--
branch : trunk
-rw-r--r-- | src/game/SpellEffects.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 24c2ded7321..47e47d1f119 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -639,6 +639,10 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx) // Eviscerate and Envenom Bonus Damage (item set effect) if (m_caster->HasAura(SPELL_EVISCERATE_AND_ENVENOM_BONUS_DAMAGE_37169)) damage += combo*40; + + // Apply spell mods + if (Player* modOwner = m_caster->GetSpellModOwner()) + modOwner->ApplySpellMod(m_spellInfo->Id, SPELLMOD_DAMAGE, damage); } } break; |