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:
@@ -716,7 +716,7 @@ public abstract class SharedActionsSystem : EntitySystem
|
||||
action.Enabled = false;
|
||||
}
|
||||
|
||||
action.Cooldown = null;
|
||||
//action.Cooldown = null; //CP14 - disabling auto cooldown after using
|
||||
if (action is { UseDelay: not null, Charges: null or < 1 })
|
||||
{
|
||||
dirty = true;
|
||||
|
||||
Reference in New Issue
Block a user