Core/Spells: fixed and issue that was preventing Death Coil from benefitting from modifiers such as power costs

This commit is contained in:
Ovahlord committed 2019-07-31 15:32:39 +02:00
1 parent a14bb40a87
commit d849ae131d
2 files changed
+1 -7

No files matched your search

+1 -1
View File
@@ -332,7 +332,7 @@ class spell_dk_death_coil : public SpellScript
return;
Unit* target = GetHitUnit();
int32 bp = GetEffectValue();
int32 bp = GetSpellInfo()->Effects[EFFECT_0].CalcValue(caster, nullptr, GetHitUnit());
bp += CalculatePct(caster->GetTotalAttackPowerValue(BASE_ATTACK), 23);
if (caster->IsFriendlyTo(target))