diff options
author | Faq <ainarsh@gmail.com> | 2012-06-14 22:36:56 +0300 |
---|---|---|
committer | Faq <ainarsh@gmail.com> | 2012-06-14 22:36:56 +0300 |
commit | d77a8568b7df8e1e7131f81c0c67487384232047 (patch) | |
tree | 15a5b13cc47535883f7aa89efa60510ae1d4de82 /src/server/scripts | |
parent | aae45460edf522eb60316ca93a406e41749c5aa8 (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.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 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() |