Use fixed point arithmetic for progress/quality

This commit is contained in:
Asriel Camora
2023-11-04 11:43:34 -07:00
parent 9ca83bfe23
commit d08fedb247
23 changed files with 44 additions and 42 deletions
+1 -1
View File
@@ -10,5 +10,5 @@ internal sealed class BasicSynthesis : BaseAction
public override int CPCost(Simulator s) => 0;
// Basic Synthesis Mastery Trait
public override float Efficiency(Simulator s) => s.Input.Stats.Level >= 31 ? 1.20f : 1.00f;
public override int Efficiency(Simulator s) => s.Input.Stats.Level >= 31 ? 120 : 100;
}