diff --git a/obj.go b/obj.go index 1ba28b4..dbbfce5 100644 --- a/obj.go +++ b/obj.go @@ -525,7 +525,7 @@ func silentGetObjItemID(code string, name string) int64 { i := v.(ChatWarsItem) return i.ObjID64 } - if ok, _ := regexp.MatchString(`(u|a|e)[0-9]+`, c); ok { + if ok, _ := regexp.MatchString(`(u|a|e)[0-9]+[a-z]{0,1}`, c); ok { r := regexp.MustCompile(`^((?P⚡\+[0-9]+) ){0,1}(?P.+?)( \+(?P[0-9]+)⚔){0,1}( \+(?P[0-9]+)🛡){0,1}( \+(?P[0-9]+)💧){0,1}$`) n2 := r.ReplaceAllString(n, "${BaseName}") if v, ok := cacheObjItem.Load(n2); ok {