test shops
This commit is contained in:
parent
9713d468ac
commit
0d4ab6e618
3
job.go
3
job.go
@ -2252,7 +2252,8 @@ func jobShops(j Job) {
|
|||||||
out = fmt.Sprintf("%s [%d : %d]", out, cwm.Mana, cwm.ManaTotal)
|
out = fmt.Sprintf("%s [%d : %d]", out, cwm.Mana, cwm.ManaTotal)
|
||||||
|
|
||||||
if cwm.Mana < cwm.ManaTotal {
|
if cwm.Mana < cwm.ManaTotal {
|
||||||
d := ((cwm.ManaTotal - cwm.Mana) / ((cwm.ManaTotal / 250) + 1)) * time.Minute
|
s := (((cwm.ManaTotal - cwm.Mana) * 60) / ((cwm.ManaTotal / 250) + 1))
|
||||||
|
d := s * time.Second
|
||||||
out = fmt.Sprintf("%s %s\n", out, d.String())
|
out = fmt.Sprintf("%s %s\n", out, d.String())
|
||||||
} else {
|
} else {
|
||||||
out = fmt.Sprintf("%s\n", out)
|
out = fmt.Sprintf("%s\n", out)
|
||||||
|
Loading…
Reference in New Issue
Block a user