test
This commit is contained in:
parent
dcccf21169
commit
33a957b4ce
5
job.go
5
job.go
@ -1810,11 +1810,12 @@ func jobCraftItem(j Job) {
|
||||
requiredItems = make(map[string]int64)
|
||||
missingItems = make(map[string]int64)
|
||||
craftItems = make(map[string]int64)
|
||||
totalMana = item.Craft.Mana
|
||||
|
||||
totalMana = item.Craft.Mana * p.Quantity
|
||||
|
||||
for _, v := range item.Craft.Items {
|
||||
log.Printf("jobCraftItem[%s] : %s - %d\n", item.Code, v.Code, v.Quantity)
|
||||
requiredItems[v.Code] = v.Quantity
|
||||
requiredItems[v.Code] = v.Quantity * p.Quantity
|
||||
missingItems[v.Code] = 0
|
||||
craftItems[v.Code] = 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user