Simulator changes

This commit is contained in:
Asriel Camora
2023-06-25 01:01:47 -07:00
parent 62efffa3e7
commit 866e30a5bc
4 changed files with 21 additions and 8 deletions
+2
View File
@@ -55,6 +55,8 @@ public class Simulator
{
if (baseAction.Level > Input.Stats.Level)
return ActionResponse.ActionNotUnlocked;
if (action == ActionType.Manipulation && !Input.Stats.CanUseManipulation)
return ActionResponse.ActionNotUnlocked;
if (baseAction.CPCost(this) > CP)
return ActionResponse.NotEnoughCP;
return ActionResponse.CannotUseAction;