diff options
author | Trond B. Krokli <38162891+illfated@users.noreply.github.com> | 2019-05-08 20:42:54 +0200 |
---|---|---|
committer | Keader <keader.android@gmail.com> | 2019-05-08 15:42:54 -0300 |
commit | 1e97dfec538b9113134a67b7d25a1c1d2bc7b662 (patch) | |
tree | 2a33fbbb19ada8cd0fa8c472e0173fdf63ac966f /src | |
parent | 704354d027c19db1e5c37cecf7e407098a094e05 (diff) |
Core/Spells: make Four Horsemen debuffs negative (#23253)
By Riztazz
Closes #23248
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 6d45d7cf1e7..544803b97b5 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -3710,7 +3710,8 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, uint8 effIndex, std::unor case SPELL_AURA_MOD_ATTACKER_MELEE_CRIT_DAMAGE: case SPELL_AURA_MOD_ATTACKER_RANGED_CRIT_DAMAGE: 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(spellInfo, effIndex)) return false; break; |