test
This commit is contained in:
parent
fe1026a64e
commit
2b2eead135
2
item.go
2
item.go
@ -136,7 +136,7 @@ func getSilentObjItemID(code string, name string) int64 {
|
||||
return objItems[id].ObjID64
|
||||
}
|
||||
if ok, _ := regexp.MatchString(`^((u|e)[0-9]+|(a|w)[0-9]+[a-e]{0,1})$`, code); ok || len(code) == 0 {
|
||||
if ok, _ := regexp.MatchString(`^(Mystery|Unidentified) (amulet|ring) lvl.[0-9]+$`); ok {
|
||||
if ok, _ := regexp.MatchString(`^(Mystery|Unidentified) (amulet|ring) lvl.[0-9]+$`, name); ok {
|
||||
return objItems[cacheObjItem[`u000`]].ObjID64
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user