mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Spells: Update AOE Damage Cap (#22871)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user