aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-12-09 14:38:33 -0300
committerDoctorKraft <DoctorKraft@users.noreply.github.com>2018-03-12 16:39:34 +0100
commit749f3422bbdc611e7329e2b79be54c4cbf0ed620 (patch)
tree3ee9f96721adf5d6ff21eda88a83eab91411e11a /src
parent20c9486ab047f33223a324aea96351e50982b0c8 (diff)
Core/Spell: do not downscale certain auras
(cherry picked from commit fc1c15781a57a922b13c119662f7fcb65582fa86)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellInfo.cpp4
1 files changed, 4 insertions, 0 deletions
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))
{