From ed037f04bb585e9fd8344d3e93ece7afc6a84010 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Wed, 22 Feb 2017 23:33:28 +0100 Subject: [PATCH] Fixed area aura scaling on lower level players --- src/game/Spells/Spell.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/Spells/Spell.cpp b/src/game/Spells/Spell.cpp index b80ae79bc..f8a808d6e 100644 --- a/src/game/Spells/Spell.cpp +++ b/src/game/Spells/Spell.cpp @@ -3278,7 +3278,9 @@ void Spell::prepare(SpellCastTargets const* targets, AuraEffect const* triggered { for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i) { - if (m_spellInfo->Effects[i].Effect == SPELL_EFFECT_APPLY_AURA) + if (m_spellInfo->Effects[i].Effect == SPELL_EFFECT_APPLY_AURA || + m_spellInfo->Effects[i].Effect == SPELL_EFFECT_APPLY_AREA_AURA_PARTY || + m_spellInfo->Effects[i].Effect == SPELL_EFFECT_APPLY_AREA_AURA_RAID) { // Change aura with ranks only if basepoints are taken from spellInfo and aura is positive if (m_spellInfo->IsPositiveEffect(i))