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

This commit is contained in:
Gildor
2020-06-24 21:18:10 +02:00
committed by GitHub
parent 50a9c49c88
commit 9405f78ee4

View File

@@ -3714,6 +3714,7 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, uint8 effIndex, std::unor
case SPELL_AURA_MOD_ATTACKER_RANGED_CRIT_DAMAGE:
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(spellInfo, effIndex))