From 749f3422bbdc611e7329e2b79be54c4cbf0ed620 Mon Sep 17 00:00:00 2001 From: ariel- Date: Fri, 9 Dec 2016 14:38:33 -0300 Subject: Core/Spell: do not downscale certain auras (cherry picked from commit fc1c15781a57a922b13c119662f7fcb65582fa86) --- 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 a12431f23c4..7a1d5ab5735 100644 --- a/src/server/game/Spells/SpellInfo.cpp +++ b/src/server/game/Spells/SpellInfo.cpp @@ -3931,6 +3931,10 @@ SpellInfo const* SpellInfo::GetAuraRankForLevel(uint8 level) const if (IsPassive()) return this; + // Client ignores spell with these attributes (sub_53D9D0) + if (HasAttribute(SPELL_ATTR0_NEGATIVE_1) || HasAttribute(SPELL_ATTR2_UNK3)) + return this; + bool needRankSelection = false; for (SpellEffectInfo const* effect : GetEffectsForDifficulty(DIFFICULTY_NONE)) { -- cgit v1.2.3