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
This commit is contained in:
Ed
2025-01-04 21:35:59 +03:00
committed by GitHub
parent a6a4a8da3f
commit 36d02fdf6e
35 changed files with 743 additions and 314 deletions

View File

@@ -19,10 +19,4 @@ public sealed partial class CP14SpellStorageComponent : Component
/// </summary>
[DataField]
public List<EntityUid> SpellEntities = new();
/// <summary>
/// allows you to use an caster's mana to create spells.
/// </summary>
[DataField]
public bool CanUseCasterMana = true;
}