From 812bf50e14e0897c1c3fae2fa5807e61ab7000ec Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 10 Feb 2020 18:21:18 +0800 Subject: [PATCH] test --- job.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/job.go b/job.go index 1d70229..a10976d 100644 --- a/job.go +++ b/job.go @@ -2095,9 +2095,12 @@ func jobCraftAll(j Job) { recipes, _ := totalRecipes[k] parts, _ := totalParts[k] if k == "a83" || k == "a84" { - log.Printf("jobCraftAll[%s] ratio : %d | parts : %d | recipes : %d\n", k, i, parts, recipes) + log.Printf("jobCraftAll[%s] DEBUG > ratio : %d | parts : %d | recipes : %d\n", k, i, parts, recipes) } if (recipes > 0 && parts > (i-1)) || (parts >= i) { + if k == "a83" || k == "a84" { + log.Printf("jobCraftAll[%s] STORE > ratio : %d | parts : %d | recipes : %d\n", k, i, parts, recipes) + } completeItems[k] = float64(MinInt64(recipes*i, parts) / i) maxItems = MaxInt64(maxItems, int64(completeItems[k])) }