Files
tbd-station-14/Content.Shared/Flash/Components/DamagedByFlashingComponent.cs
slarticodefast b83d00b792 Predict Flashes (#37640)
Co-authored-by: ScarKy0 <scarky0@onet.eu>
2025-06-23 13:32:56 +02:00

19 lines
490 B
C#

using Content.Shared.Damage;
using Robust.Shared.GameStates;
namespace Content.Shared.Flash.Components;
/// <summary>
/// This entity will take damage from flashes.
/// </summary>
[RegisterComponent, NetworkedComponent]
[Access(typeof(DamagedByFlashingSystem))]
public sealed partial class DamagedByFlashingComponent : Component
{
/// <summary>
/// How much damage it will take.
/// </summary>
[DataField(required: true)]
public DamageSpecifier FlashDamage = new();
}