Core/Spell: do not downscale certain auras

(cherry picked from commit fc1c15781a)
This commit is contained in:
ariel-
2016-12-09 14:38:33 -03:00
committed by DoctorKraft
parent 20c9486ab0
commit 749f3422bb

View File

@@ -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))
{