diff --git a/msg.go b/msg.go index 1cd49b5..f8c0865 100644 --- a/msg.go +++ b/msg.go @@ -432,7 +432,9 @@ func parseSubTypeMessageQuestResultAmbush(m *ChatWarsMessage, r *regexp.Regexp) re := regexp.MustCompile(`([0-9] x ){0,1}([a-zA-Z ]*) lvl\.([0-9]*)`) for _, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Monsters}"), -1) { - log.Printf("parseSubTypeMessageQuestResultAmbush : %v\n", l) + log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[1]) + log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[2]) + log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[3]) } cwm.Msg = m return &cwm, nil