This commit is contained in:
shoopea 2020-06-27 15:35:41 +02:00
parent fe1026a64e
commit 2b2eead135

View File

@ -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
}