From ff7b00dcef24d4172f719757fcba40920309bfa2 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 20 Oct 2019 17:17:08 +0800 Subject: [PATCH] update --- rules.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/rules.go b/rules.go index 55fd1a1..4acee46 100644 --- a/rules.go +++ b/rules.go @@ -365,14 +365,15 @@ func resetMsgParsingRules() { `📯Arena (🔒){0,1}\\n` + `Arena isn't a place for the weak\\. Here you fight against other players and if you stand victorious, you acquire precious experience\\.$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResultAmbush) + `, "Quest Res with Ambush and loot", "^You met some hostile creatures\\. Be careful:\\n` + - `(?P.*)\\n` + + `(?P(([0-9] x ){0,1}[a-zA-Z ]* lvl\\.[0-9]*\\n{0,1})+)\\n` + `It's an ambush! Loot is locked till the end of the fight:\\n` + - `(?P.*)\\n` + - `/fight_[a-zA-Z0-9]+$") + `(?P([a-zA-Z ]* \\([0-9]+\\)\\n{0,1})+*)\\n` + + `\\/fight_[a-zA-Z0-9]+$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResultAmbush) + `, "Quest Res with Ambush and no loot", "^You met some hostile creatures\\. Be careful:\\n` + - `(?P.*)\\n` + - `It's an ambush!\\n\\n` + - `/fight_[a-zA-Z0-9]+$") + `(?P(([0-9] x ){0,1}[a-zA-Z ]* lvl\\.[0-9]*\\n{0,1})+)\\n` + + `It's an ambush!\\n` + + `(?P([a-zA-Z ]* \\([0-9]+\\)\\n{0,1})+*)\\n` + + `\\/fight_[a-zA-Z0-9]+$") ;`) failOnError(err, "resetMsgParsingRules : populate table msg_rules")