Core/Spells: fixed and issue that was preventing Death Coil from benefitting from modifiers such as power costs
This commit is contained in:
1 parent
a14bb40a87
commit
d849ae131d
2 files changed
+1
-7
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user