diff options
author | Gildor <gildor55@gmail.com> | 2020-06-21 12:55:29 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-06 23:30:16 +0100 |
commit | 71ce61cc951c5795b02f11212a392987d4ba0af1 (patch) | |
tree | 13144705b88afe085d3234afafb543d2918578cc /src | |
parent | 69cadae38ae7196703ea10908860a6973dbdcddf (diff) |
Core/Spells: SPELL_AURA_MOD_HEALING should be negative if TargetType is negative (#24862)
(cherry picked from commit a555bf1fd786d1f9b65ed9673ce6f8fc8a2b403e)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 052ff46c028..7ac1e900388 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -4660,6 +4660,7 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, SpellEffectInfo const& ef case SPELL_AURA_MOD_ATTACKER_RANGED_CRIT_CHANCE: case SPELL_AURA_MOD_ATTACKER_SPELL_AND_WEAPON_CRIT_CHANCE: case SPELL_AURA_DUMMY: + case SPELL_AURA_MOD_HEALING: // check target for positive and negative spells if (!_isPositiveTarget(effect)) return false; |