diff options
author | ariel- <ariel-@users.noreply.github.com> | 2017-04-03 04:04:02 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2017-04-03 04:04:02 -0300 |
commit | 1ca8434b365687dbd12ca232a615d126234eba5e (patch) | |
tree | 217e28181663825232958d9959f7e5cefec74f4a /src | |
parent | e594c2d096c101a5b722793612febb6276b3b48e (diff) |
Core/Spell: don't set scaleAura for some special spells
Closes #14541
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/SpellInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index efa3d6e8c70..fdf6f7bef4a 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -3359,6 +3359,10 @@ bool SpellInfo::_IsPositiveEffect(uint8 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: |