Skip to content

Commit

Permalink
Fix. Does this need to be in server?
Browse files Browse the repository at this point in the history
  • Loading branch information
IProduceWidgets committed Aug 15, 2024
1 parent b48ac84 commit 89018ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Content.Server/Damage/Components/DamageOnLandComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ namespace Content.Server.Damage.Components
[RegisterComponent]
public sealed partial class DamageOnLandComponent : Component
{
/// <summary>
/// Should this entity be damaged when it lands regardless of its resistances?
/// </summary>
[DataField("ignoreResistances")]
[ViewVariables(VVAccess.ReadWrite)]
public bool IgnoreResistances = false;

/// <summary>
/// How much damage.
/// </summary>
[DataField("damage", required: true)]
[ViewVariables(VVAccess.ReadWrite)]
public DamageSpecifier Damage = default!;
Expand Down

0 comments on commit 89018ba

Please sign in to comment.