This commit is contained in:
shoopea 2019-05-13 11:20:24 +08:00
parent c9b925fde7
commit 312d077f2e

View File

@ -169,7 +169,8 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
}
cwm.Report[r.ReplaceAllString(m.Text, "${Loot7}")] = rep
rep = cwm.Report[r.ReplaceAllString(m.Text, "$(Score1)")]
rep.Points, _ = strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points1)"))
p, _ := strconv.Atoi(r.ReplaceAllString(m.Text, "$(Points1)"))
rep.Points = int32(p)
b, err := json.Marshal(cwm)
/*
if len(r.ReplaceAllString(m.Text, "${Loot1}")) < 6 || len(r.ReplaceAllString(m.Text, "${Loot1}")) > 11 {