This commit is contained in:
shoopea 2019-10-20 20:12:56 +08:00
parent 2b1f8001c1
commit 46edbd5e0c

2
msg.go
View File

@ -432,7 +432,7 @@ 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 : %s\n", l[1])
log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[3])
}
cwm.Msg = m
return &cwm, nil