Core/Spell: do not downscale certain auras

(cherry picked from commit fc1c15781a57a922b13c119662f7fcb65582fa86)
This commit is contained in:
ariel-
2018-03-12 16:39:34 +01:00
committed by DoctorKraft
parent 20c9486ab0
commit 749f3422bb
+4
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))
{