Core/Spells: Fix Spellsteal stealing Silence buff of Arcane Torrent (#23992)

(cherry picked from commit 7920347f439b1c17805182a4f22d3b3b9f521a29)
This commit is contained in:
Giacomo Pozzoni
2021-12-19 15:30:59 +01:00
committed by Shauren
parent 1635a34228
commit fda1630f74
-1
View File
@@ -4425,7 +4425,6 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, SpellEffectInfo const& ef
case SPELL_EFFECT_LEARN_SPELL:
case SPELL_EFFECT_SKILL_STEP:
case SPELL_EFFECT_HEAL_PCT:
case SPELL_EFFECT_ENERGIZE_PCT:
return true;
case SPELL_EFFECT_INSTAKILL:
if (otherEffect.EffectIndex != effect.EffectIndex && // for spells like 38044: instakill effect is negative but auras on target must count as buff