修复能点击跳过的问题
This commit is contained in:
parent
0c6060aef8
commit
d48bada8de
@ -20400,7 +20400,6 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
if (this.isReplay) {
|
if (this.isReplay) {
|
||||||
playerAction.card.forEach(v => {
|
playerAction.card.forEach(v => {
|
||||||
this.costdown(this.cards[v])
|
this.costdown(this.cards[v])
|
||||||
this.usecard = true
|
|
||||||
this.cards.splice(v, 1)
|
this.cards.splice(v, 1)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -20475,6 +20474,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
if (px < cardweight || px > 676 - cardweight) return
|
if (px < cardweight || px > 676 - cardweight) return
|
||||||
const index = Math.floor((px - cardweight) / 102)
|
const index = Math.floor((px - cardweight) / 102)
|
||||||
if (!this.costdown(this.cards[index])) return
|
if (!this.costdown(this.cards[index])) return
|
||||||
|
this.usecard = true
|
||||||
card.push(index)
|
card.push(index)
|
||||||
this.cards.splice(index, 1)
|
this.cards.splice(index, 1)
|
||||||
} else {
|
} else {
|
||||||
@ -20482,6 +20482,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
if (px >= 574) index = this.cards.length - 1
|
if (px >= 574) index = this.cards.length - 1
|
||||||
else index = Math.floor(px / (574 / (this.cards.length - 1)))
|
else index = Math.floor(px / (574 / (this.cards.length - 1)))
|
||||||
if (!this.costdown(this.cards[index])) return
|
if (!this.costdown(this.cards[index])) return
|
||||||
|
this.usecard = true
|
||||||
card.push(index)
|
card.push(index)
|
||||||
this.cards.splice(index, 1)
|
this.cards.splice(index, 1)
|
||||||
}
|
}
|
||||||
@ -20499,6 +20500,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
if (py >= 345.66 & py < 510.83) {
|
if (py >= 345.66 & py < 510.83) {
|
||||||
const index = 4 + Math.floor(px / 104)
|
const index = 4 + Math.floor(px / 104)
|
||||||
if (!this.costdown(this.cards[index])) return
|
if (!this.costdown(this.cards[index])) return
|
||||||
|
this.usecard = true
|
||||||
card.push(index)
|
card.push(index)
|
||||||
this.cards.splice(index, 1)
|
this.cards.splice(index, 1)
|
||||||
this.update()
|
this.update()
|
||||||
@ -20506,6 +20508,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 =
|
|||||||
} else if (py >= 510.83) {
|
} else if (py >= 510.83) {
|
||||||
const index = Math.floor(px / 104)
|
const index = Math.floor(px / 104)
|
||||||
if (!this.costdown(this.cards[index])) return
|
if (!this.costdown(this.cards[index])) return
|
||||||
|
this.usecard = true
|
||||||
card.push(index)
|
card.push(index)
|
||||||
this.cards.splice(index, 1)
|
this.cards.splice(index, 1)
|
||||||
this.update()
|
this.update()
|
||||||
|
Loading…
Reference in New Issue
Block a user