diff options
author | ariel- <ariel-@users.noreply.github.com> | 2016-12-09 14:38:33 -0300 |
---|---|---|
committer | DoctorKraft <DoctorKraft@users.noreply.github.com> | 2018-03-12 16:39:34 +0100 |
commit | 749f3422bbdc611e7329e2b79be54c4cbf0ed620 (patch) | |
tree | 3ee9f96721adf5d6ff21eda88a83eab91411e11a /src | |
parent | 20c9486ab047f33223a324aea96351e50982b0c8 (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.cpp | 4 |
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)) { |