update msg_rules

This commit is contained in:
shoopea 2019-12-29 15:32:48 +08:00
parent 6ffed331b1
commit f79f339e76
2 changed files with 4158 additions and 18 deletions

View File

@ -3,109 +3,109 @@
"prio": "5000", "prio": "5000",
"descn": "Player war report", "descn": "Player war report",
"rule": "^(?P<Castle>[🐉🦅🐺🦈🦌🥔🌑])(\\[(?P<Guild>[A-Z0-9]{1,3})\\]){0,1}(?P<User>([A-Za-z0-9 ]*)) ⚔:(?P<Attack>[0-9]+)(?P<AttackMod>\\((-|\\+)[0-9]+\\)){0,1} 🛡:(?P<Defense>[0-9]+) Lvl: (?P<Level>[0-9]+)\\nYour result on the battlefield:\\n(🔥Exp: (?P<Exp>[0-9]+)){0,1}(\\n)*(💰Gold: (?P<Gold>\\-{0,1}[0-9]+)){0,1}(\\n)*(📦Stock: (?P<Stock>\\-{0,1}[0-9]+)){0,1}(\\n)*(❤Hp: (?P<HP>\\-[0-9]+)){0,1}(\\n)*((?P<Stamina>(🔋Stamina restored))){0,1}(\\n(?P<Crit>(⚡Critical strike))){0,1}$", "rule": "^(?P<Castle>[🐉🦅🐺🦈🦌🥔🌑])(\\[(?P<Guild>[A-Z0-9]{1,3})\\]){0,1}(?P<User>([A-Za-z0-9 ]*)) ⚔:(?P<Attack>[0-9]+)(?P<AttackMod>\\((-|\\+)[0-9]+\\)){0,1} 🛡:(?P<Defense>[0-9]+) Lvl: (?P<Level>[0-9]+)\\nYour result on the battlefield:\\n(🔥Exp: (?P<Exp>[0-9]+)){0,1}(\\n)*(💰Gold: (?P<Gold>\\-{0,1}[0-9]+)){0,1}(\\n)*(📦Stock: (?P<Stock>\\-{0,1}[0-9]+)){0,1}(\\n)*(❤Hp: (?P<HP>\\-[0-9]+)){0,1}(\\n)*((?P<Stamina>(🔋Stamina restored))){0,1}(\\n(?P<Crit>(⚡Critical strike))){0,1}$",
"msg_type_id": "306" "msg_type": "report_ack"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Auction annouce", "descn": "Auction annouce",
"rule": "^Lot #(?P<Lot>[0-9]+) : (?P<Item>.*)\\n(Quality: (?P<Quality>.*)\\n){0,1}(Condition: (?P<Cond>.*)\\n){0,1}Seller: (?P<SellerCastle>[🐉🦅🐺🦈🦌🥔🌑])( ){0,1}(\\[(?P<SellerGuild>[A-Z0-9]{1,3})\\]){0,1}(?P<SellerUser>.*){0,1}\\nCurrent price: (?P<Price>[0-9]+) pouch\\(es\\)\\nBuyer: (None|(?P<BuyerCastle>[🐉🦅🐺🦈🦌🥔🌑])( ){0,1}(\\[(?P<BuyerGuild>[A-Z0-9]{1,3})\\]){0,1}(?P<BuyerUser>.*){0,1})\\nEnd At: (?P<End>.*)\\nStatus: (?P<Status>.*)(\\n)*(?s:.*)", "rule": "^Lot #(?P<Lot>[0-9]+) : (?P<Item>.*)\\n(Quality: (?P<Quality>.*)\\n){0,1}(Condition: (?P<Cond>.*)\\n){0,1}Seller: (?P<SellerCastle>[🐉🦅🐺🦈🦌🥔🌑])( ){0,1}(\\[(?P<SellerGuild>[A-Z0-9]{1,3})\\]){0,1}(?P<SellerUser>.*){0,1}\\nCurrent price: (?P<Price>[0-9]+) pouch\\(es\\)\\nBuyer: (None|(?P<BuyerCastle>[🐉🦅🐺🦈🦌🥔🌑])( ){0,1}(\\[(?P<BuyerGuild>[A-Z0-9]{1,3})\\]){0,1}(?P<BuyerUser>.*){0,1})\\nEnd At: (?P<End>.*)\\nStatus: (?P<Status>.*)(\\n)*(?s:.*)",
"msg_type_id": "324" "msg_type": "auction_announce"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Time", "descn": "Time",
"rule": "^In Chat Wars world now\\n(?P<Time>.*)\\n(?P<Hour>[0-9]{2}):(?P<Minute>[0-9]{2})\\n(?P<Day>[0-9]{2}) (?P<Month>.+) (?P<Year>[0-9]{4})\\n\\nWeather forecast\\n(?P<Weather>.*)→(?P<WeatherNext>.*)\\n(?s:.*)$", "rule": "^In Chat Wars world now\\n(?P<Time>.*)\\n(?P<Hour>[0-9]{2}):(?P<Minute>[0-9]{2})\\n(?P<Day>[0-9]{2}) (?P<Month>.+) (?P<Year>[0-9]{4})\\n\\nWeather forecast\\n(?P<Weather>.*)→(?P<WeatherNext>.*)\\n(?s:.*)$",
"msg_type_id": "327" "msg_type": "time_ack"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Pillage Inc", "descn": "Pillage Inc",
"rule": "^You were strolling around on your horse when you noticed (\\[(?P<Guild>[A-Z0-9]{1,3})\\]){0,1}(?P<Attacker>.*) of .{1}(?P<Castle>(Moonlight|Wolfpack|Deerhorn|Dragonscale|Sharkteeth|Potato|Highnest)) Castle trying to pillage a local village. To stop him click /go$", "rule": "^You were strolling around on your horse when you noticed (\\[(?P<Guild>[A-Z0-9]{1,3})\\]){0,1}(?P<Attacker>.*) of .{1}(?P<Castle>(Moonlight|Wolfpack|Deerhorn|Dragonscale|Sharkteeth|Potato|Highnest)) Castle trying to pillage a local village. To stop him click /go$",
"msg_type_id": "317" "msg_type": "pillage_inc"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Go", "descn": "Go",
"rule": "^/go$", "rule": "^/go$",
"msg_type_id": "329" "msg_type": "go"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Pillage Go", "descn": "Pillage Go",
"rule": "^You lift up your sword and charge at the violator.$", "rule": "^You lift up your sword and charge at the violator.$",
"msg_type_id": "318" "msg_type": "pillage_go"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Pillage Win", "descn": "Pillage Win",
"rule": "^You successfully defeated (\\[(?P<Guild>[A-Z0-9]{1,3})\\]){0,1}(?P<Attacker>.*). As he was crawling away, you picked up some of the gold he left behind. Received (?P<Gold>[0-9]+) gold and (?P<Exp>[0-9]+) exp.$", "rule": "^You successfully defeated (\\[(?P<Guild>[A-Z0-9]{1,3})\\]){0,1}(?P<Attacker>.*). As he was crawling away, you picked up some of the gold he left behind. Received (?P<Gold>[0-9]+) gold and (?P<Exp>[0-9]+) exp.$",
"msg_type_id": "320" "msg_type": "pillage_win"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Pillage Timeout", "descn": "Pillage Timeout",
"rule": "^You\\'ve failed to protect the villagers\\. No more rewards for you\\.$", "rule": "^You\\'ve failed to protect the villagers\\. No more rewards for you\\.$",
"msg_type_id": "319" "msg_type": "pillage_timeout"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Pillage Loss", "descn": "Pillage Loss",
"rule": "^You let (\\[(?P<Guild>[A-Z0-9]{1,3})\\]){0,1}(?P<Attacker>.*) go and he pillaged the village\\. We hope you feel terrible\\.$", "rule": "^You let (\\[(?P<Guild>[A-Z0-9]{1,3})\\]){0,1}(?P<Attacker>.*) go and he pillaged the village\\. We hope you feel terrible\\.$",
"msg_type_id": "321" "msg_type": "pillage_loss"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Pillage Defeat", "descn": "Pillage Defeat",
"rule": "^You tried stopping (\\[(?P<Guild>[A-Z0-9]{1,3})\\]){0,1}(?P<Attacker>.*)\\. Sadly, he was too strong\\. Your body hurts, but for some reason you feel enlightened\\. Received: (?P<Exp>[0-9]+) exp\\.$", "rule": "^You tried stopping (\\[(?P<Guild>[A-Z0-9]{1,3})\\]){0,1}(?P<Attacker>.*)\\. Sadly, he was too strong\\. Your body hurts, but for some reason you feel enlightened\\. Received: (?P<Exp>[0-9]+) exp\\.$",
"msg_type_id": "402" "msg_type": "pillage_defeat"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Duel Fight result #2", "descn": "Duel Fight result #2",
"rule": "(?P<Life1>(\\-){0,1}[0-9]+).*(?P<Castle1>[🐉🦅🐺🦈🦌🥔🌑])(\\[(?P<Guild1>[A-Z0-9]{1,3})\\]){0,1}(?P<Duelist1>.*)\\nVS\\n(?P<Life2>(\\-){0,1}[0-9]+).*(?P<Castle2>[🐉🦅🐺🦈🦌🥔🌑])(\\[(?P<Guild2>[A-Z0-9]{1,3})\\]){0,1}(?P<Duelist2>.*)\\n(?s:.*)\\n(\\[(?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 (?P<Weapon>.*).\\nYou received: (?P<Exp>[0-9]+) exp.\\n(?s:.*)$", "rule": "(?P<Life1>(\\-){0,1}[0-9]+).*(?P<Castle1>[🐉🦅🐺🦈🦌🥔🌑])(\\[(?P<Guild1>[A-Z0-9]{1,3})\\]){0,1}(?P<Duelist1>.*)\\nVS\\n(?P<Life2>(\\-){0,1}[0-9]+).*(?P<Castle2>[🐉🦅🐺🦈🦌🥔🌑])(\\[(?P<Guild2>[A-Z0-9]{1,3})\\]){0,1}(?P<Duelist2>.*)\\n(?s:.*)\\n(\\[(?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 (?P<Weapon>.*).\\nYou received: (?P<Exp>[0-9]+) exp.\\n(?s:.*)$",
"msg_type_id": "310" "msg_type": "duel_fight"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Duel Fight result #1", "descn": "Duel Fight result #1",
"rule": "(?P<Life1>(\\-){0,1}[0-9]+).*(?P<Castle1>[🐉🦅🐺🦈🦌🥔🌑])(\\[(?P<Guild1>[A-Z0-9]{1,3})\\]){0,1}(?P<Duelist1>.*)\\nVS\\n(?P<Life2>(\\-){0,1}[0-9]+).*(?P<Castle2>[🐉🦅🐺🦈🦌🥔🌑])(\\[(?P<Guild2>[A-Z0-9]{1,3})\\]){0,1}(?P<Duelist2>.*)\\n(?s:.*)\\n(\\[(?P<WinGuild>[A-Z0-9]{1,3})\\]){0,1}(?P<WinDuelist>.*) from .*(?P<WinCastle>[🐉🦅🐺🦈🦌🥔🌑]).* Castle was stronger than (\\[(?P<LossGuild>[A-Z0-9]{1,3})\\]){0,1}(?P<LossDuelist>.*) from .*(?P<LossCastle>[🐉🦅🐺🦈🦌🥔🌑]).* Castle.\\nYou received: (?P<Exp>[0-9]+) exp.\\n(?s:.*)$", "rule": "(?P<Life1>(\\-){0,1}[0-9]+).*(?P<Castle1>[🐉🦅🐺🦈🦌🥔🌑])(\\[(?P<Guild1>[A-Z0-9]{1,3})\\]){0,1}(?P<Duelist1>.*)\\nVS\\n(?P<Life2>(\\-){0,1}[0-9]+).*(?P<Castle2>[🐉🦅🐺🦈🦌🥔🌑])(\\[(?P<Guild2>[A-Z0-9]{1,3})\\]){0,1}(?P<Duelist2>.*)\\n(?s:.*)\\n(\\[(?P<WinGuild>[A-Z0-9]{1,3})\\]){0,1}(?P<WinDuelist>.*) from .*(?P<WinCastle>[🐉🦅🐺🦈🦌🥔🌑]).* Castle was stronger than (\\[(?P<LossGuild>[A-Z0-9]{1,3})\\]){0,1}(?P<LossDuelist>.*) from .*(?P<LossCastle>[🐉🦅🐺🦈🦌🥔🌑]).* Castle.\\nYou received: (?P<Exp>[0-9]+) exp.\\n(?s:.*)$",
"msg_type_id": "310" "msg_type": "duel_fight"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Report request", "descn": "Report request",
"rule": "^/report$", "rule": "^/report$",
"msg_type_id": "305" "msg_type": "report_req"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Guild report request", "descn": "Guild report request",
"rule": "^/g_report$", "rule": "^/g_report$",
"msg_type_id": "307" "msg_type": "g_report_req"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Hero request", "descn": "Hero request",
"rule": "^/hero$", "rule": "^/hero$",
"msg_type_id": "311" "msg_type": "hero_req"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Me request", "descn": "Me request",
"rule": "^🏅Me$", "rule": "^🏅Me$",
"msg_type_id": "313" "msg_type": "me_req"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Inventory request", "descn": "Inventory request",
"rule": "^/inv$", "rule": "^/inv$",
"msg_type_id": "315" "msg_type": "inv_req"
}, },
{ {
"prio": "5000", "prio": "5000",
"descn": "Time request", "descn": "Time request",
"rule": "^/time$", "rule": "^/time$",
"msg_type_id": "328" "msg_type": "time_req"
}, },
{ {
"prio": "5000", "prio": "5000",

4140
data/obj_item.json Normal file

File diff suppressed because it is too large Load Diff