test shops
This commit is contained in:
parent
0d4ab6e618
commit
299edc8874
3
job.go
3
job.go
@ -2252,8 +2252,7 @@ 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 {
|
||||||
s := (((cwm.ManaTotal - cwm.Mana) * 60) / ((cwm.ManaTotal / 250) + 1))
|
d := time.Duration(((cwm.ManaTotal-cwm.Mana)*60)/((cwm.ManaTotal/250)+1)) * time.Second
|
||||||
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