From 69b3a69543ec6d1535c5e910b8e0fa51c343d208 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 23 Aug 2019 18:20:06 +0800 Subject: [PATCH] update deposit --- job.go | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/job.go b/job.go index ddaa4fa..f11e359 100644 --- a/job.go +++ b/job.go @@ -738,20 +738,26 @@ func jobGDeposit(j Job) { } } } + var delay int64 = 0 if res { - + clientSendCWMsgDelay(p.ChatID64, `📦Resources`, delay) + delay = delay + 2 } if alch { - + clientSendCWMsgDelay(p.ChatID64, `⚗️Alchemy`, delay) + delay = delay + 2 } if misc { - + clientSendCWMsgDelay(p.ChatID64, `🗃Misc`, delay) + delay = delay + 2 } if craft { - + clientSendCWMsgDelay(p.ChatID64, `⚒Crafting`, delay) + delay = delay + 2 } if equip { - + clientSendCWMsgDelay(p.ChatID64, `🏷Equipment`, delay) + delay = delay + 2 } /*