* 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
14 lines
408 B
C#
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;
|
|
}
|