From 7db1d8eecef24c435c3f0e4b1b4de1b2e9a9446e Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 3 Oct 2019 19:00:57 +0800 Subject: [PATCH] update rules --- rules.go | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/rules.go b/rules.go index 4303dfb..2737cf2 100644 --- a/rules.go +++ b/rules.go @@ -325,7 +325,7 @@ func resetMsgParsingRules() { ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #91", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a strange dusky helmet\\. The engraving on it illustrated a worshipping of an old powder cult, which decorated the top of the helmet\\. The helmet seemed to have an occult meaning to it, but having lesser interest in those, you just sold it to historians\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestResult) + `, "Quest result #91", "^At the edge of the known lands, there is an old cursed field, full of relics of ancient civilisations that destroyed each other\\. You love coming back there, to collect antique items\\. This time you found a strange dusky helmet\\. The engraving on it illustrated a worshipping of an old powder cult, which decorated the top of the helmet\\. The helmet seemed to have an occult meaning to it, but having lesser interest in those, you just sold it to historians\\.(?s:.*)$") ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestReq) + `, "Quest Req", "^🗺Quests$") - ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestAck) + `, "Quest Ack", "^🌲Forest [0-9]min\\n` + + ,(5000, ` + strconv.Itoa(objSubTypeMessageQuestAck) + `, "Quest Ack #1", "^🌲Forest [0-9]min\\n` + `Many things can happen in the forest\\.\\n\\n` + `🍄Swamp [0-9]min\\n` + `Who knows what is lurking in mud\\.\\n\\n` + @@ -335,7 +335,17 @@ func resetMsgParsingRules() { `Foray is a dangerous activity\\. Someone can notice you and may beat you up\\. But if you go unnoticed, you will acquire a lot of loot\\.\\n\\n` + `📯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(objSubTypeMessageQuestAck) + `, "Quest Ack #1", "^🍂Mirkwood [0-9]min\\n` + + `A corrupted forest, inhabited by twisted creatures\.\\n\\n` + + `🧟♀The Dead Marshes [0-9]min\\n` + + `The dead don't test\\.\\n\\n` + + `🌋Devil's Valley [0-9]min\\n` + + `Beware of pentagrams\\.\\n\\n` + + `🗡Foray 🔋🔋\\n` + + `Foray is a dangerous activity\\. Someone can notice you and may beat you up\\. But if you go unnoticed, you will acquire a lot of loot\\.\\n\\n` + + `📯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\\.$") + ;`) failOnError(err, "resetMsgParsingRules : populate table msg_rules")