test
This commit is contained in:
parent
a77e7f6bb6
commit
812bf50e14
5
job.go
5
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]))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user