Remove threadlocal dependence

This commit is contained in:
Asriel Camora
2023-06-21 13:20:05 -07:00
parent 0f2267dabf
commit 5faaa02f1a
43 changed files with 279 additions and 244 deletions
+4 -3
View File
@@ -6,8 +6,9 @@ internal sealed class FocusedSynthesis : BaseAction
public override int Level => 67;
public override uint ActionId => 100235;
public override int CPCost => 5;
public override float Efficiency => 2.00f;
public override bool IncreasesProgress => true;
public override float SuccessRate => Simulation.ActionStates.Observed ? 1.00f : 0.50f;
public override int CPCost(Simulator s) => 5;
public override float Efficiency(Simulator s) => 2.00f;
public override float SuccessRate(Simulator s) => s.ActionStates.Observed ? 1.00f : 0.50f;
}