This commit is contained in:
shoopea 2020-02-09 16:31:06 +08:00
parent 7b94d17fc9
commit 5637aa7a0d

2
msg.go
View File

@ -186,7 +186,7 @@ func parseSubTypeMessageReportAck(m *ChatWarsMessage, r *regexp.Regexp) (*ChatWa
`(Lost\: (?P<Lost>.*))|` +
`(You were healed by (?P<Healer>.*))|` +
`(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) {
if len(re.ReplaceAllString(l[0], "${Cry}")) != 0 {