Fixed area aura scaling on lower level players

This commit is contained in:
Yehonal
2017-02-22 23:33:28 +01:00
parent ca0c630b86
commit ed037f04bb

View File

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