fix ambush

This commit is contained in:
shoopea 2019-10-20 20:21:39 +08:00
parent 305167635e
commit c72622ee79

4
msg.go
View File

@ -437,9 +437,9 @@ func parseSubTypeMessageQuestResultAmbush(m *ChatWarsMessage, r *regexp.Regexp)
log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[1])
log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[2])
log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[3])
lvl, _ := strconv.PartInt(l[3], 10, 64)
lvl, _ := strconv.ParseInt(l[3], 10, 64)
log.Printf("parseSubTypeMessageQuestResultAmbush : lvl : %d\n", lvl)
qty, _ := strconv.PartInt(l[1], 10, 64)
qty, _ := strconv.ParseInt(l[1], 10, 64)
log.Printf("parseSubTypeMessageQuestResultAmbush : qty : %d\n", lvl)
}
cwm.Msg = m