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 FocusedSynthesis : BaseAction
public override int CPCost => 5;
public override float Efficiency => 2.00f;
public override bool IncreasesProgress => true;
public override float SuccessRate => Simulation.IsPreviousAction(ActionType.Observe) ? 1.00f : 0.50f;
public override float SuccessRate => Simulation.ActionStates.Observed ? 1.00f : 0.50f;
}