Files
tbd-station-14/Content.Shared/Weapons/Melee/Components/BonusMeleeDamageComponent.cs
2023-05-28 18:25:20 +10:00

19 lines
574 B
C#

using Content.Shared.Damage;
using Robust.Shared.GameStates;
namespace Content.Shared.Weapons.Melee.Components;
/// <summary>
/// This is used for adding in bonus damage via <see cref="GetMeleeWeaponEvent"/>
/// This exists only for event relays and doing entity shenanigans.
/// </summary>
[RegisterComponent, NetworkedComponent]
public sealed class BonusMeleeDamageComponent : Component
{
/// <summary>
/// The damage that will be applied.
/// </summary>
[DataField("bonusDamage", required: true)]
public DamageSpecifier BonusDamage = default!;
}