diff options
author | Kandera <KanderaDev@gmail.com> | 2012-03-23 08:27:27 -0400 |
---|---|---|
committer | Kandera <KanderaDev@gmail.com> | 2012-03-23 08:27:27 -0400 |
commit | 01c997c60feb75163c3c3b8ea99aa24b183609b2 (patch) | |
tree | fd795d6d05a513545d65c819bf6a8c3825031cee /src | |
parent | 0fe4580fe0f526b864586a9cc3e7727be1980323 (diff) |
Core/Spells: Fix death coil damage bonus from sigil of the vengeful heart
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_dk.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp index e6db50f3f5a..7880aa516b9 100644 --- a/src/server/scripts/Spells/spell_dk.cpp +++ b/src/server/scripts/Spells/spell_dk.cpp @@ -713,6 +713,7 @@ enum DeathCoil { SPELL_DEATH_COIL_DAMAGE = 47632, SPELL_DEATH_COIL_HEAL = 47633, + SPELL_SIGIL_VENGEFUL_HEART = 64962, }; class spell_dk_death_coil : public SpellScriptLoader @@ -743,7 +744,11 @@ class spell_dk_death_coil : public SpellScriptLoader caster->CastCustomSpell(target, SPELL_DEATH_COIL_HEAL, &bp, NULL, NULL, true); } else + { + if (AuraEffect const* auraEffect = caster->GetAuraEffect(SPELL_SIGIL_VENGEFUL_HEART,EFFECT_1)) + damage += auraEffect->GetBaseAmount(); caster->CastCustomSpell(target, SPELL_DEATH_COIL_DAMAGE, &damage, NULL, NULL, true); + } } } |