Files

17 lines
537 B
C#
Raw Permalink Normal View History

using Content.Shared.Damage;
2025-06-21 20:51:07 +03:00
namespace Content.Server._CP14.MagicSpellStorage.Components;
/// <summary>
/// Causes damage to the Spell storage when spells from it are used
/// </summary>
[RegisterComponent, Access(typeof(CP14SpellStorageSystem))]
public sealed partial class CP14SpellStorageUseDamageComponent : Component
{
/// <summary>
/// the amount of damage this entity will take per unit manacost of the spell used
/// </summary>
[DataField(required: true)]
public DamageSpecifier DamagePerMana = default!;
}