Replace ActionHistory with persistent ActionStatuses

This commit is contained in:
Asriel Camora
2023-06-20 22:37:59 -07:00
parent cdd4f5923e
commit 47c9339d56
12 changed files with 66 additions and 38 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ internal sealed class FocusedTouch : BaseAction
public override int CPCost => 18;
public override float Efficiency => 1.50f;
public override bool IncreasesQuality => true;
public override float SuccessRate => Simulation.IsPreviousAction(ActionType.Observe) ? 1.00f : 0.50f;
public override float SuccessRate => Simulation.ActionStates.Observed ? 1.00f : 0.50f;
}