mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Spells: make Four Horsemen debuffs negative (#23253)
By Riztazz
Closes #23248
(cherry picked from commit 1e97dfec53)
This commit is contained in:
@@ -4633,7 +4633,8 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, SpellEffectInfo const& ef
|
||||
case SPELL_AURA_MOD_ATTACKER_MELEE_CRIT_CHANCE:
|
||||
case SPELL_AURA_MOD_ATTACKER_RANGED_CRIT_CHANCE:
|
||||
case SPELL_AURA_MOD_ATTACKER_SPELL_AND_WEAPON_CRIT_CHANCE:
|
||||
// have positive and negative spells, check target
|
||||
case SPELL_AURA_DUMMY:
|
||||
// check target for positive and negative spells
|
||||
if (!_isPositiveTarget(effect))
|
||||
return false;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user