StamcritResistComponent.cs 879 B

12345678910111213141516171819202122
  1. // SPDX-FileCopyrightText: 2024 username <113782077+whateverusername0@users.noreply.github.com>
  2. // SPDX-FileCopyrightText: 2024 whateverusername0 <whateveremail>
  3. // SPDX-FileCopyrightText: 2025 Aiden <28298836+Aidenkrz@users.noreply.github.com>
  4. // SPDX-FileCopyrightText: 2025 Misandry <mary@thughunt.ing>
  5. // SPDX-FileCopyrightText: 2025 gus <august.eymann@gmail.com>
  6. //
  7. // SPDX-License-Identifier: AGPL-3.0-or-later
  8. using Robust.Shared.GameObjects;
  9. using Robust.Shared.GameStates;
  10. using Robust.Shared.Serialization.Manager.Attributes;
  11. namespace Content.Goobstation.Common.Stunnable;
  12. [RegisterComponent, NetworkedComponent]
  13. public sealed partial class StamcritResistComponent : Component
  14. {
  15. /// <summary>
  16. /// If stamina damage reaches (damage * multiplier), then the entity will enter stamina crit.
  17. /// </summary>
  18. [DataField] public float Multiplier = 2f;
  19. }