15 lines
469 B
C#
15 lines
469 B
C#
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();
|
|
}
|