销毁机制bug修复

This commit is contained in:
Spmario233 2023-10-28 01:06:58 +08:00
parent e7d22b9cd1
commit 2d9c40f41c
1 changed files with 5 additions and 0 deletions

View File

@ -19632,6 +19632,11 @@
cards.splice(i--,1);
continue;
}
else if(event.getlx!==false&&cards[i].willBeDestroyed(event.position.id,null,event)){
cards[i].delete();
cards.splice(i--,1);
continue;
}
else if(cards[i].parentNode){
if(cards[i].parentNode.classList.contains('equips')){
cards[i].original='e';