Core/Spells: allow energize spell effects with alternate power types to have negative amounts as well

This commit is contained in:
Ovahlord
2019-07-15 16:27:18 +02:00
parent eb9f4cea81
commit 005336829a

View File

@@ -1512,7 +1512,7 @@ void Spell::EffectEnergize(SpellEffIndex effIndex)
if (level_diff > 0)
damage -= level_multiplier * level_diff;
if (damage < 0 && power != POWER_ECLIPSE)
if (damage < 0 && power != POWER_ECLIPSE && power != POWER_ALTERNATE_POWER)
return;
m_caster->EnergizeBySpell(unitTarget, m_spellInfo->Id, damage, power);