From 7d988221f70c620da2d694022caa0bfac0268299 Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Wed, 13 Jan 2010 14:33:28 +0300 Subject: [PATCH] Allow apply spell mods for spell Eviscerate. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 24c2ded732..47e47d1f11 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;