From c4dd261b7824c0e8513ab86621901b1052ebb8b5 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 21 Oct 2019 11:55:49 +0800 Subject: [PATCH] update ambush --- rules.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.go b/rules.go index e871a9f..5a6cab4 100644 --- a/rules.go +++ b/rules.go @@ -368,11 +368,11 @@ func resetMsgParsingRules() { `(?P(((([0-9] x ){0,1}[a-zA-Z ]* lvl\\.[0-9]*)|( ╰ [a-z ]*))\\n{0,1})+)\\n` + `((It's an ambush)|(It is ambush))! Loot is locked till the end of the fight:\\n` + `(?P([a-zA-Z ]* \\([0-9]+\\)\\n{0,1})+)\\n` + - `\\/fight_[a-zA-Z0-9]+$") + `(?P\\/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(((([0-9] x ){0,1}[a-zA-Z ]* lvl\\.[0-9]*)|( ╰ [a-z ]*))\\n{0,1})+)\\n` + `((It's an ambush)|(It is ambush))!\\n\\n` + - `\\/fight_[a-zA-Z0-9]+$") + `(?P\\/fight_[a-zA-Z0-9]+)$") ;`) failOnError(err, "resetMsgParsingRules : populate table msg_rules")