Files
crystall-punk-14/Content.Shared/_CP14/Damageable/CP14DamageableModifierComponent.cs

15 lines
478 B
C#
Raw Permalink Normal View History

using Robust.Shared.GameStates;
namespace Content.Shared._CP14.Damageable;
/// <summary>
/// Increases or decreases incoming damage, regardless of the damage type.
/// Unlike standard Damageable modifiers, this value can be changed during the game.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class CP14DamageableModifierComponent : Component
{
[DataField, AutoNetworkedField]
public float Modifier = 1f;
}