fix ambush
This commit is contained in:
parent
c72622ee79
commit
3bc36fec28
4
msg.go
4
msg.go
@ -428,7 +428,7 @@ func parseSubTypeMessageDuelFight(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWa
|
||||
}
|
||||
|
||||
func parseSubTypeMessageQuestResultAmbush(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWarsMessageQuestResultAmbush, error) {
|
||||
var level float64
|
||||
//var level float64
|
||||
|
||||
cwm := ChatWarsMessageQuestResultAmbush{}
|
||||
|
||||
@ -440,7 +440,7 @@ func parseSubTypeMessageQuestResultAmbush(m *ChatWarsMessage, r *regexp.Regexp)
|
||||
lvl, _ := strconv.ParseInt(l[3], 10, 64)
|
||||
log.Printf("parseSubTypeMessageQuestResultAmbush : lvl : %d\n", lvl)
|
||||
qty, _ := strconv.ParseInt(l[1], 10, 64)
|
||||
log.Printf("parseSubTypeMessageQuestResultAmbush : qty : %d\n", lvl)
|
||||
log.Printf("parseSubTypeMessageQuestResultAmbush : qty : %d\n", qty)
|
||||
}
|
||||
cwm.Msg = m
|
||||
return &cwm, nil
|
||||
|
Loading…
Reference in New Issue
Block a user