aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrond B. Krokli <38162891+illfated@users.noreply.github.com>2019-05-08 20:42:54 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-04 00:31:32 +0100
commitb6dc6fd742f0671cb13e4db0d2e3a8d4bc59b497 (patch)
treec656815cb5dd836e8f0dc8ba715c853ceeb2911f /src
parent4ce9a7a2cc36c8727ab9e2147207b952f2968949 (diff)
Core/Spells: make Four Horsemen debuffs negative (#23253)
By Riztazz Closes #23248 (cherry picked from commit 1e97dfec538b9113134a67b7d25a1c1d2bc7b662)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp
index aaa735bae1b..574c9f11a19 100644
--- a/src/server/game/Spells/SpellInfo.cpp
+++ b/src/server/game/Spells/SpellInfo.cpp
@@ -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;