From b6dc6fd742f0671cb13e4db0d2e3a8d4bc59b497 Mon Sep 17 00:00:00 2001 From: "Trond B. Krokli" <38162891+illfated@users.noreply.github.com> Date: Wed, 8 May 2019 20:42:54 +0200 Subject: Core/Spells: make Four Horsemen debuffs negative (#23253) By Riztazz Closes #23248 (cherry picked from commit 1e97dfec538b9113134a67b7d25a1c1d2bc7b662) --- src/server/game/Spells/SpellInfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3