Core/Spells: SPELL_AURA_PERIODIC_DUMMY should be negative if TargetType is enemy (#24864)

(cherry picked from commit 9405f78ee4bfee265a744daa92a8d5b155804cc3)
This commit is contained in:
Gildor
2022-01-07 00:25:52 +01:00
committed by Shauren
parent 366a514462
commit 81a5bc597b
+1
View File
@@ -4660,6 +4660,7 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, SpellEffectInfo const& ef
case SPELL_AURA_MOD_ATTACKER_RANGED_CRIT_CHANCE:
case SPELL_AURA_MOD_ATTACKER_SPELL_AND_WEAPON_CRIT_CHANCE:
case SPELL_AURA_DUMMY:
case SPELL_AURA_PERIODIC_DUMMY:
case SPELL_AURA_MOD_HEALING:
// check target for positive and negative spells
if (!_isPositiveTarget(effect))