Files
Delta-v/Content.Shared/Damage/Systems/DamageableSystem.BenchmarkHelpers.cs
T
Princess CheeseballsandPrincess Cheeseballs bf5acf558d Damageable Cleanup + Bugfix (#42076)
* Does not build do not PR

* using blah blah blah rider hates me

---------

Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
2026-04-04 16:57:21 +02:00

18 lines
506 B
C#

using Content.Shared.Damage.Components;
namespace Content.Shared.Damage.Systems;
public sealed partial class DamageableSystem
{
/// <summary>
/// Applies damage to all entities to see how expensive it is to deal damage.
/// </summary>
public void ApplyDamageToAllEntities(List<Entity<DamageableComponent>> damageables, DamageSpecifier damage)
{
foreach (var (uid, damageable) in damageables)
{
ChangeDamage((uid, damageable), damage);
}
}
}