fix ambush
This commit is contained in:
parent
305167635e
commit
c72622ee79
4
msg.go
4
msg.go
@ -437,9 +437,9 @@ func parseSubTypeMessageQuestResultAmbush(m *ChatWarsMessage, r *regexp.Regexp)
|
|||||||
log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[1])
|
log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[1])
|
||||||
log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[2])
|
log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[2])
|
||||||
log.Printf("parseSubTypeMessageQuestResultAmbush : %s\n", l[3])
|
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)
|
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)
|
log.Printf("parseSubTypeMessageQuestResultAmbush : qty : %d\n", lvl)
|
||||||
}
|
}
|
||||||
cwm.Msg = m
|
cwm.Msg = m
|
||||||
|
Loading…
Reference in New Issue
Block a user