aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorFaq <ainarsh@gmail.com>2012-06-14 22:36:56 +0300
committerFaq <ainarsh@gmail.com>2012-06-14 22:36:56 +0300
commitd77a8568b7df8e1e7131f81c0c67487384232047 (patch)
tree15a5b13cc47535883f7aa89efa60510ae1d4de82 /src/server/scripts
parentaae45460edf522eb60316ca93a406e41749c5aa8 (diff)
Fixing Death Knight T8 Melee 4P Bonus (darkruned set). tibbi
Diffstat (limited to 'src/server/scripts')
-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 118097a38cb..defca2b8d33 100644
--- a/src/server/scripts/Spells/spell_dk.cpp
+++ b/src/server/scripts/Spells/spell_dk.cpp
@@ -400,7 +400,12 @@ class spell_dk_scourge_strike : public SpellScriptLoader
{
Unit* caster = GetCaster();
if (Unit* unitTarget = GetHitUnit())
+ {
multiplier = (GetEffectValue() * unitTarget->GetDiseasesByCaster(caster->GetGUID()) / 100.f);
+ // Death Knight T8 Melee 4P Bonus
+ if (AuraEffect const* aurEff = caster->GetAuraEffect(64736, EFFECT_0))
+ AddPctF(multiplier, aurEff->GetAmount());
+ }
}
void HandleAfterHit()