Allow apply spell mods for spell Eviscerate.

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2010-01-13 14:33:28 +03:00
parent 0bcf3b32f1
commit 7d988221f7
+4
View File
@@ -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;