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

(cherry picked from commit 7920347f43)
This commit is contained in:
Giacomo Pozzoni
2019-12-26 13:57:50 +01:00
committed by Shauren
parent 1635a34228
commit fda1630f74

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