From 1ca8434b365687dbd12ca232a615d126234eba5e 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 --- src/server/game/Spells/SpellInfo.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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: -- cgit v1.2.3