diff options
| author | Kandera <KanderaDev@gmail.com> | 2012-05-17 09:40:44 -0400 |
|---|---|---|
| committer | Kandera <KanderaDev@gmail.com> | 2012-05-17 09:40:44 -0400 |
| commit | 619fdd185b2b59d886697d1cdbf71ac843982f66 (patch) | |
| tree | b44c10f53599f5553b541570237a8e95f49589b3 /src | |
| parent | 609002067dc3a7f646c0a1444bdd0e91387b14c3 (diff) | |
Core/Spells: fix deep wounds damage. thanks warpten.
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/scripts/Spells/spell_warrior.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/server/scripts/Spells/spell_warrior.cpp b/src/server/scripts/Spells/spell_warrior.cpp index 194753d6e90..3d348a41e76 100644 --- a/src/server/scripts/Spells/spell_warrior.cpp +++ b/src/server/scripts/Spells/spell_warrior.cpp @@ -180,9 +180,6 @@ class spell_warr_deep_wounds : public SpellScriptLoader if (Unit* target = GetHitUnit()) if (Unit* caster = GetCaster()) { - // apply percent damage mods - damage = caster->SpellDamageBonusDone(target, GetSpellInfo(), damage, SPELL_DIRECT_DAMAGE); - ApplyPctN(damage, 16 * sSpellMgr->GetSpellRank(GetSpellInfo()->Id)); SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(SPELL_DEEP_WOUNDS_RANK_PERIODIC); @@ -194,8 +191,6 @@ class spell_warr_deep_wounds : public SpellScriptLoader damage = damage / ticks; - damage = target->SpellDamageBonusTaken(caster, GetSpellInfo(), damage, SPELL_DIRECT_DAMAGE); - caster->CastCustomSpell(target, SPELL_DEEP_WOUNDS_RANK_PERIODIC, &damage, NULL, NULL, true); } } |
