2024-11-06 08:44:03 +03:00
|
|
|
using Content.Shared._CP14.MagicRitual.Prototypes;
|
|
|
|
|
using Content.Shared.FixedPoint;
|
|
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
2024-11-06 18:02:37 +03:00
|
|
|
namespace Content.Shared._CP14.MagicManacostModify;
|
2024-11-06 08:44:03 +03:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Changes the manacost of spells for the bearer
|
|
|
|
|
/// </summary>
|
2024-11-06 18:02:37 +03:00
|
|
|
[RegisterComponent, Access(typeof(CP14MagicManacostModifySystem))]
|
|
|
|
|
public sealed partial class CP14MagicManacostModifyComponent : Component
|
2024-11-06 08:44:03 +03:00
|
|
|
{
|
|
|
|
|
[DataField]
|
|
|
|
|
public Dictionary<ProtoId<CP14MagicTypePrototype>, FixedPoint2> Modifiers = new();
|
|
|
|
|
|
|
|
|
|
[DataField]
|
|
|
|
|
public FixedPoint2 GlobalModifier = 1f;
|
|
|
|
|
}
|