Core/Spells: SPELL_AURA_PERIODIC_DUMMY should be negative if TargetType is enemy (#24864)
(cherry picked from commit 9405f78ee4bfee265a744daa92a8d5b155804cc3)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user