aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2012-06-30 11:40:56 -0700
committerShauren <shauren.trinity@gmail.com>2012-06-30 11:40:56 -0700
commit1ae184748cce8ee7f7bd6779d33d6611ca216b70 (patch)
treec2ee7e4e8a4fbcd445adf35cec6daa1f346af8ec /src
parentc8d20004a50d823c7acc4de97266615827af29f7 (diff)
parent330880906612458a5edd1f4248c8001575197dc7 (diff)
Merge pull request #6988 from Faq/DK_talent
Core/Spells: Corrected Black Ice bonus damage for Scourge Strike shadow part.
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_dk.cpp5
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 6a58f3d03c5..5095092927e 100644
--- a/src/server/scripts/Spells/spell_dk.cpp
+++ b/src/server/scripts/Spells/spell_dk.cpp
@@ -41,6 +41,7 @@ enum DeathKnightSpells
DK_SPELL_UNHOLY_PRESENCE = 48265,
DK_SPELL_IMPROVED_UNHOLY_PRESENCE_TRIGGERED = 63622,
SPELL_DK_ITEM_T8_MALEE_4P_BONUS = 64736,
+ DK_SPELL_BLACK_ICE_R1 = 49140,
};
// 50462 - Anti-Magic Shell (on raid member)
@@ -422,6 +423,10 @@ class spell_dk_scourge_strike : public SpellScriptLoader
if (Unit* unitTarget = GetHitUnit())
{
int32 bp = GetHitDamage() * multiplier;
+
+ if (AuraEffect* aurEff = caster->GetAuraEffectOfRankedSpell(DK_SPELL_BLACK_ICE_R1, EFFECT_0))
+ AddPctN(bp, aurEff->GetAmount());
+
caster->CastCustomSpell(unitTarget, DK_SPELL_SCOURGE_STRIKE_TRIGGERED, &bp, NULL, NULL, true);
}
}