mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
未知卡池判空
This commit is contained in:
parent
85f5158239
commit
50b29402e6
@ -152,13 +152,13 @@ let GachaData = {
|
||||
let isUp = false
|
||||
// 歪了多少个
|
||||
if (type === 'char') {
|
||||
if (!currVersion.hasOwnProperty("char5") || currVersion.char5.includes(ds.name)) {
|
||||
if (currVersion.char5?.includes(ds.name)) {
|
||||
isUp = true
|
||||
} else {
|
||||
wai++
|
||||
}
|
||||
} else {
|
||||
if (currVersion.weapon5.includes(ds.name)) {
|
||||
if (currVersion.weapon5?.includes(ds.name)) {
|
||||
isUp = true
|
||||
} else {
|
||||
wai++
|
||||
|
Loading…
Reference in New Issue
Block a user