Fixing Death Knight T8 Melee 4P Bonus (darkruned set). tibbi

This commit is contained in:
Faq committed 2012-06-14 22:36:56 +03:00
1 parent aae45460ed
commit d77a8568b7
2 files changed
+21 -3

No files matched your search

+5
View File
@@ -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()