Files
crystall-punk-14/Content.Shared/_CP14/MagicEnergy/Components/CP14MagicEnergyFromDamageComponent.cs

15 lines
469 B
C#
Raw Normal View History

using Content.Shared.Damage.Prototypes;
using Robust.Shared.Prototypes;
namespace Content.Shared._CP14.MagicEnergy.Components;
/// <summary>
/// Restores or expends magical energy when taking damage of certain types.
/// </summary>
[RegisterComponent, Access(typeof(SharedCP14MagicEnergySystem))]
public sealed partial class CP14MagicEnergyFromDamageComponent : Component
{
[DataField]
public Dictionary<ProtoId<DamageTypePrototype>, float> Damage = new();
}