diff options
author | XTZGZoReX <none@none> | 2010-01-13 18:25:46 +0100 |
---|---|---|
committer | XTZGZoReX <none@none> | 2010-01-13 18:25:46 +0100 |
commit | 53f9e0fba003dca63bdc1aba2d46bfbed756a31e (patch) | |
tree | bb5e405cd1633b9cf6dfe75937261329bd36d94f /src/game/SpellEffects.cpp | |
parent | 5a9ef604e20d6ea30fa94a3ddbae6bc4ac6fe93e (diff) | |
parent | f5998611c33670b9f77b4ca5382203c48f4ca63e (diff) |
* Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-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 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; |