fix ambush
This commit is contained in:
parent
16edab823d
commit
0c52a28cb3
2
msg.go
2
msg.go
@ -441,7 +441,7 @@ func parseSubTypeMessageQuestResultAmbush(m *ChatWarsMessage, r *regexp.Regexp)
|
||||
log.Printf("parseSubTypeMessageQuestResultAmbush : lvl : %d\n", lvl)
|
||||
qty, _ := strconv.ParseInt(l[1], 10, 64)
|
||||
log.Printf("parseSubTypeMessageQuestResultAmbush : qty : %d\n", qty)
|
||||
level = level + lvl*qty
|
||||
level = level + float64(lvl*qty)
|
||||
}
|
||||
cwm.Msg = m
|
||||
return &cwm, nil
|
||||
|
Loading…
Reference in New Issue
Block a user