From d80350da6886bea546c01b2d3e15c9bad39606fd Mon Sep 17 00:00:00 2001 From: ariel- Date: Mon, 3 Apr 2017 04:04:02 -0300 Subject: Core/Spell: don't set scaleAura for some special spells Closes #14541 (cherry picked from commit 1ca8434b365687dbd12ca232a615d126234eba5e) --- src/server/game/Spells/SpellInfo.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/server/game/Spells/SpellInfo.cpp') diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp index 3b27c060639..98604c278d4 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -4329,6 +4329,10 @@ 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: -- cgit v1.2.3