diff --git a/rules.go b/rules.go index 203e7a4..cff4786 100644 --- a/rules.go +++ b/rules.go @@ -367,12 +367,11 @@ func resetMsgParsingRules() { ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResultAmbush) + `, "Quest Res with Ambush and loot", "^You met some hostile creatures\\. Be careful:\\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([a-zA-Z ]* \\([0-9]+\\)\\n{0,1})+*)\\n` + + `(?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(([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` + + `It's an ambush!\\n\\n` + `\\/fight_[a-zA-Z0-9]+$") ;`)