This commit is contained in:
shoopea 2019-05-18 21:38:44 +08:00
parent c5a53c4fa0
commit 818b70586b

2
sql.go
View File

@ -1340,7 +1340,7 @@ func resetMsgParsingRules() {
`(\\[(?P<WinGuild>[A-Z0-9]{1,3})\\]){0,1}(?P<WinDuelist>.*) from (?P<WinCastle>[🐉🦅🐺🦈🦌🥔🌑]).* Castle stands victorious over (\\[(?P<LossGuild>[A-Z0-9]{1,3})\\]){0,1}(?P<LossDuelist>.*) from (?P<LossCastle>[🐉🦅🐺🦈🦌🥔🌑]).* Castle, with blood slowly dripping from his weapon.\\n` +
`You received: (?P<Exp>[0-9]+) exp.\\n` +
`Leaderboard of fighters are updated: /top5 \\& /top6. Congratulations!$")
,(5000, ` + strconv.Itoa(objSubTypeMessageDuelFight) + `, "Duel Fight result", "(?P<Life1>(\\-){0,1}[0-9]+)\\x{FE0F}(?P<Castle1>.)(\\[(?P<Guild1>[A-Z0-9]{1,3})\\]){0,1}(?P<Duelist1>.*)\\n` +
,(5000, ` + strconv.Itoa(objSubTypeMessageDuelFight) + `, "Duel Fight result", "(?P<Life1>(\\-){0,1}[0-9]+)` +
`(?s:.*)$")
;`)
failOnError(err, "resetMsgParsingRules : populate table msg_rules")