test
This commit is contained in:
parent
805693f402
commit
7dd8fd70b7
5
rules.go
5
rules.go
@ -119,14 +119,13 @@ func resetMsgParsingRules() {
|
|||||||
,(4900, ` + strconv.Itoa(objSubTypeMessageUnionWar) + `, "Union war rep only union", "^(🏠Trade union news:\n)(?P<Union>(?s:.*))(🎪State of exclusive rights:\n){0}(?P<Fair>(?s:.*))$")
|
,(4900, ` + strconv.Itoa(objSubTypeMessageUnionWar) + `, "Union war rep only union", "^(🏠Trade union news:\n)(?P<Union>(?s:.*))(🎪State of exclusive rights:\n){0}(?P<Fair>(?s:.*))$")
|
||||||
,(4900, ` + strconv.Itoa(objSubTypeMessageUnionWar) + `, "Union war rep only fair", "^(🏠Trade union news:\n){0}(?P<Union>(?s:.*))(🎪State of exclusive rights:\n)(?P<Fair>(?s:.*))$")
|
,(4900, ` + strconv.Itoa(objSubTypeMessageUnionWar) + `, "Union war rep only fair", "^(🏠Trade union news:\n){0}(?P<Union>(?s:.*))(🎪State of exclusive rights:\n)(?P<Fair>(?s:.*))$")
|
||||||
,(5000, ` + strconv.Itoa(objSubTypeMessageTimeout) + `, "Generic timeout", "^Too late. Action is not available.$")
|
,(5000, ` + strconv.Itoa(objSubTypeMessageTimeout) + `, "Generic timeout", "^Too late. Action is not available.$")
|
||||||
,(5000, ` + strconv.Itoa(objSubTypeMessageMeAck) + `, "Me ack", "^(?s:.*)Battle of the seven castles in .* minutes!\\n` +
|
,(5000, ` + strconv.Itoa(objSubTypeMessageMeAck) + `, "Me ack", "^(?s:.*)Battle of the seven castles in .* minutes!\\n(?s:.*)\\n` +
|
||||||
`(?s:.*)\\n` +
|
|
||||||
`(?P<CastleIcon>.)(?P<Player>.*) of (?P<Castle>[a-zA-Z]*) Castle\\n` +
|
`(?P<CastleIcon>.)(?P<Player>.*) of (?P<Castle>[a-zA-Z]*) Castle\\n` +
|
||||||
`.Level: (?P<Level>[0-9]+)\\n` +
|
`.Level: (?P<Level>[0-9]+)\\n` +
|
||||||
`.Atk: (?P<Atk>[0-9]+) .Def: (?P<Def>[0-9]+)\\n` +
|
`.Atk: (?P<Atk>[0-9]+) .Def: (?P<Def>[0-9]+)\\n` +
|
||||||
`.Exp: (?P<ExpNow>[0-9]+)/(?P<ExpLvl>[0-9]+)\\n` +
|
`.Exp: (?P<ExpNow>[0-9]+)/(?P<ExpLvl>[0-9]+)\\n` +
|
||||||
`.Stamina: (?P<StaminaNow>[0-9]+)/(?P<StaminaMax>[0-9]+).*\\n` +
|
`.Stamina: (?P<StaminaNow>[0-9]+)/(?P<StaminaMax>[0-9]+).*\\n` +
|
||||||
`(💰(?P<Gold>(-){0,1}[0-9]+)){0,1}( 👝(?P<Pogs>[0-9]+)){0,1}( 💎(?P<Gems>[0-9]+)){0,1}\\n\\n` +
|
`(.(?P<Gold>(-){0,1}[0-9]+)){0,1}( .(?P<Pogs>[0-9]+)){0,1}( .(?P<Gems>[0-9]+)){0,1}\\n\\n` +
|
||||||
`🎽Equipment +(?P<AtkGear>[0-9]+). +(?P<DefGear>[0-9]+).\\n` +
|
`🎽Equipment +(?P<AtkGear>[0-9]+). +(?P<DefGear>[0-9]+).\\n` +
|
||||||
`🎒Bag: (?P<BagUsed>[0-9]+)/(?P<BagDispo>[0-9]+) /inv\\n\\n` +
|
`🎒Bag: (?P<BagUsed>[0-9]+)/(?P<BagDispo>[0-9]+) /inv\\n\\n` +
|
||||||
`State:\\n(?P<State>.*)\\n\\n` +
|
`State:\\n(?P<State>.*)\\n\\n` +
|
||||||
|
Loading…
Reference in New Issue
Block a user