From 9b745f8ebcc6bf82d0e9ec95a447d573ade3b3c7 Mon Sep 17 00:00:00 2001 From: Nic0Nic0Nii Date: Mon, 30 Aug 2021 07:09:40 +0000 Subject: [PATCH] Make CP calculations smarter. --- SigCrafter/src/sig/SigCraft.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SigCrafter/src/sig/SigCraft.java b/SigCrafter/src/sig/SigCraft.java index 6b9ad77..96f1e41 100644 --- a/SigCrafter/src/sig/SigCraft.java +++ b/SigCrafter/src/sig/SigCraft.java @@ -89,6 +89,7 @@ public class SigCraft { List progress_rotation1 = new ArrayList(); int progressSteps = 0; List progress_rotation2 = new ArrayList(); + int qualityCPRemaining = 0; Craft c1 = new Craft(CONTROL,LEVEL,CP,BASE_PROGRESS,PROGRESS_GOAL,QUALITY_GOAL,GUARANTEED,DURABILITY,CRAFT_PROGRESS,CRAFT_QUALITY,DURABILITY,CP,1,1,1,RECIPE_LEVEL,Status.NORMAL,BUFFLIST); //Tame rotation attempt. @@ -117,10 +118,12 @@ public class SigCraft { System.out.println("Basic Synthesis with Veneration takes "+progressSteps+" turns, consuming "+(c2.cp-c2.craft_cp)+" CP."); if (progressSteps