Core/Spell: do not downscale certain auras

This commit is contained in:
ariel-
2016-12-09 14:38:33 -03:00
committed by Aokromes
parent 205ad2e4fe
commit 21583f1cb9

View File

@@ -2994,6 +2994,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)
{