aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-12-09 14:38:33 -0300
committerariel- <ariel-@users.noreply.github.com>2016-12-09 14:40:13 -0300
commitfc1c15781a57a922b13c119662f7fcb65582fa86 (patch)
tree01eb196f7d9dc8348693a009d03d5409ff158286 /src
parent07bb3037dec38b6e5bb8672e3dd03683d4702db1 (diff)
Core/Spell: do not downscale certain auras
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 76562550596..d42420447cb 100644
--- a/src/server/game/Spells/SpellInfo.cpp
+++ b/src/server/game/Spells/SpellInfo.cpp
@@ -3158,6 +3158,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 (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
{