Files
crystall-punk-14/Content.Shared/_CP14/MagicSpell/Components/CP14MagicEffectStaminaCostComponent.cs
Ed 36d02fdf6e Magic spells code expansion (#692)
* split manacost in separate component

* stamina spells

* toggleable actions

* swap activeCasting on ActiveDoAfter

* remove dublication

* Update CP14SharedMagicSystem.ToggleableActions.cs

* EntityWoldTarget

* mana glove done

* fix spell scrolls interrupting

* fix cooldown problem

* clean up, edit stamina system
2025-01-04 21:35:59 +03:00

14 lines
408 B
C#

using Content.Shared._CP14.MagicSpellStorage;
namespace Content.Shared._CP14.MagicSpell.Components;
/// <summary>
/// Restricts the use of this action, by spending stamina.
/// </summary>
[RegisterComponent, Access(typeof(CP14SharedMagicSystem), typeof(CP14SpellStorageSystem))]
public sealed partial class CP14MagicEffectStaminaCostComponent : Component
{
[DataField]
public float Stamina = 0f;
}