aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellEffects.cpp
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2010-01-13 18:25:46 +0100
committerXTZGZoReX <none@none>2010-01-13 18:25:46 +0100
commit53f9e0fba003dca63bdc1aba2d46bfbed756a31e (patch)
treebb5e405cd1633b9cf6dfe75937261329bd36d94f /src/game/SpellEffects.cpp
parent5a9ef604e20d6ea30fa94a3ddbae6bc4ac6fe93e (diff)
parentf5998611c33670b9f77b4ca5382203c48f4ca63e (diff)
* Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r--src/game/SpellEffects.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 7f13e49a73d..2a7a45bfbee 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;