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
@@ -5436,12 +5436,6 @@ void SpellMgr::LoadSpellInfoCorrections()
|
||||
spellInfo->AttributesEx3 |= SPELL_ATTR3_NO_DONE_BONUS;
|
||||
});
|
||||
|
||||
// Death Coil
|
||||
ApplySpellFix({ 47541 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
spellInfo->AttributesEx3 |= SPELL_ATTR3_NO_DONE_BONUS;
|
||||
});
|
||||
|
||||
// Light of Dawn
|
||||
ApplySpellFix({ 85222 }, [](SpellInfo* spellInfo)
|
||||
{
|
||||
|
||||
@@ -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