From f3d0e089be5c13bd691bffe120a988df05720e88 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 13 Feb 2020 16:53:50 +0800 Subject: [PATCH] improve shops layout --- job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/job.go b/job.go index 7b739d0..5aed523 100644 --- a/job.go +++ b/job.go @@ -2269,10 +2269,10 @@ func jobShops(j Job) { } } out = fmt.Sprintf("%s [%4d💧]", out, cwm.Mana) - out = fmt.Sprintf("%s Visit %s", out, cwm.Link, cwm.User) + out = fmt.Sprintf("%s %s", out, cwm.Link, cwm.User) if cwm.Mana < cwm.ManaTotal { - d := time.Duration(((cwm.ManaTotal-cwm.Mana)*60)/((cwm.ManaTotal/250)+1)) * time.Second + d := time.Duration((cwm.ManaTotal-cwm.Mana)/((cwm.ManaTotal/250)+1)) * time.Minute out = fmt.Sprintf("%s %s\n", out, d.String()) } else { out = fmt.Sprintf("%s\n", out)