test
This commit is contained in:
parent
7b94d17fc9
commit
5637aa7a0d
2
msg.go
2
msg.go
@ -186,7 +186,7 @@ func parseSubTypeMessageReportAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWa
|
|||||||
`(Lost\: (?P<Lost>.*))|` +
|
`(Lost\: (?P<Lost>.*))|` +
|
||||||
`(You were healed by (?P<Healer>.*))|` +
|
`(You were healed by (?P<Healer>.*))|` +
|
||||||
`(You were poisoned by (?P<Poisoner>.*))|` +
|
`(You were poisoned by (?P<Poisoner>.*))|` +
|
||||||
`(Got hit by an arrow from (?P<Archer>.*), (?P<Skiller>.*) skill decreased)|` +
|
`(Got hit by an arrow from (?P<Archer>.*), (?P<Skill>.*) skill decreased)|` +
|
||||||
`.+)`)
|
`.+)`)
|
||||||
for i, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Extra}"), -1) {
|
for i, l := range re.FindAllStringSubmatch(r.ReplaceAllString(m.Text, "${Extra}"), -1) {
|
||||||
if len(re.ReplaceAllString(l[0], "${Cry}")) != 0 {
|
if len(re.ReplaceAllString(l[0], "${Cry}")) != 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user