Fixed area aura scaling on lower level players
This commit is contained in:
parent
ca0c630b86
commit
ed037f04bb
1 changed files with 3 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue