Files
crystall-punk-14/Content.Shared/_CP14/MagicSpell/Components/CP14MagicEffectManaCostComponent.cs
2025-06-21 20:51:07 +03:00

20 lines
574 B
C#

using Content.Shared.FixedPoint;
namespace Content.Shared._CP14.MagicSpell.Components;
/// <summary>
/// Restricts the use of this action, by spending mana or user requirements.
/// </summary>
[RegisterComponent, Access(typeof(CP14SharedMagicSystem))]
public sealed partial class CP14MagicEffectManaCostComponent : Component
{
[DataField]
public FixedPoint2 ManaCost = 0f;
/// <summary>
/// Can the cost of casting this magic effect be changed from clothing or other sources?
/// </summary>
[DataField]
public bool CanModifyManacost = true;
}