Core/Spells: Update AOE Damage Cap (#22871)

This commit is contained in:
Quadralqt
2018-12-17 15:43:42 +00:00
committed by Shauren
parent fb32788525
commit ba44e1a8db

View File

@@ -7162,8 +7162,8 @@ void Spell::DoAllEffectOnLaunchTarget(TargetInfo& targetInfo, float* multiplier)
if (m_caster->GetTypeId() == TYPEID_PLAYER)
{
uint32 targetAmount = m_UniqueTargetInfo.size();
if (targetAmount > 10)
m_damage = m_damage * 10/targetAmount;
if (targetAmount > 20)
m_damage = m_damage * 20/targetAmount;
}
}
}