Files
tbd-station-14/Content.Shared/Damage/Components/DamageOtherOnHitComponent.cs
slarticodefast a6dce11566 Predict damage examine (#40168)
* predict damage examine

* .

* required true

* nits

---------

Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
2025-10-10 23:23:26 +00:00

25 lines
608 B
C#

using Content.Shared.Damage.Systems;
namespace Content.Shared.Damage.Components;
/// <summary>
/// Makes this entity deal damage when thrown at something.
/// </summary>
[RegisterComponent]
[Access(typeof(SharedDamageOtherOnHitSystem))]
public sealed partial class DamageOtherOnHitComponent : Component
{
/// <summary>
/// Whether to ignore damage modifiers.
/// </summary>
[DataField]
public bool IgnoreResistances = false;
/// <summary>
/// The damage amount to deal on hit.
/// </summary>
[DataField(required: true)]
public DamageSpecifier Damage = default!;
}