Files
tbd-station-14/Content.Server/Damage/Components/DamageOtherOnHitComponent.cs

20 lines
531 B
C#

using Content.Server.Damage.Systems;
using Content.Shared.Damage;
namespace Content.Server.Damage.Components
{
[Access(typeof(DamageOtherOnHitSystem))]
[RegisterComponent]
public sealed class DamageOtherOnHitComponent : Component
{
[DataField("ignoreResistances")]
[ViewVariables(VVAccess.ReadWrite)]
public bool IgnoreResistances = false;
[DataField("damage", required: true)]
[ViewVariables(VVAccess.ReadWrite)]
public DamageSpecifier Damage = default!;
}
}