diff options
author | ariel- <ariel-@users.noreply.github.com> | 2017-04-21 01:35:42 -0300 |
---|---|---|
committer | funjoker <funjoker109@gmail.com> | 2020-04-27 15:20:00 +0200 |
commit | 92719d1dc9f8294b7a07129297e23cae1ef0a659 (patch) | |
tree | 686faca6aff3702014cafa1d013d6bd260c4f32a /src | |
parent | 64ae382d41fe633b1298e37a6ec04fa40ad76b9b (diff) |
Revert "Core/Spell: don't set scaleAura for some special spells"
This reverts commit 1ca8434b365687dbd12ca232a615d126234eba5e.
Closes #19472
(cherry picked from commit c296d255e25a2d0eb7155f64eea32cc36fed280a)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 98604c278d4..eb37c3da5d7 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -4329,10 +4329,6 @@ bool SpellInfo::_IsPositiveEffect(uint32 effIndex, bool deep) const if (HasAttribute(SPELL_ATTR0_NEGATIVE_1)) return false; - // these spells must not be downscaled, thus marking them negative (see GetAuraRankForLevel) - if (HasAttribute(SPELL_ATTR2_UNK3)) - return false; - switch (SpellFamilyName) { case SPELLFAMILY_GENERIC: @@ -4513,6 +4509,7 @@ bool SpellInfo::_IsPositiveEffect(uint32 effIndex, bool deep) const case SPELL_AURA_MOD_STALKED: case SPELL_AURA_PERIODIC_DAMAGE_PERCENT: case SPELL_AURA_PREVENT_RESURRECTION: + case SPELL_AURA_EMPATHY: return false; case SPELL_AURA_PERIODIC_DAMAGE: // used in positive spells also. // part of negative spell if cast at self (prevent cancel) |