From e90f20fcb0bad7b8fa09ada32218e9e27331a0c7 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 9 Jan 2020 16:07:12 +0800 Subject: [PATCH] update class --- msg.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/msg.go b/msg.go index a06764d..670cab3 100644 --- a/msg.go +++ b/msg.go @@ -282,9 +282,11 @@ func parseSubTypeMessageMeAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMe i, _ = strconv.ParseInt(r.ReplaceAllString(m.Text, "${Level}"), 10, 64) cwm.Level = i + log.Printf("parseSubTypeMessageReport : Class : %s\n", r.ReplaceAllString(m.Text, "${Class}")) + /* log.Printf("parseSubTypeMessageReport : Me report identified\n") - log.Printf("parseSubTypeMessageReport : Class : %s\n", r.ReplaceAllString(m.Text, "${Class}")) + log.Printf("parseSubTypeMessageReport : Castle : %s\n", r.ReplaceAllString(m.Text, "${Castle}")) log.Printf("parseSubTypeMessageReport : Level : %s\n", r.ReplaceAllString(m.Text, "${Level}")) log.Printf("parseSubTypeMessageReport : Atk : %s\n", r.ReplaceAllString(m.Text, "${Atk}"))