Merge pull request #969 from mengxinzxz/PR-Branch

junksijun bugfix
This commit is contained in:
Spmario233 2024-02-17 22:48:17 +08:00 committed by GitHub
commit e4cf337177
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -12366,7 +12366,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
player.removeMark('yizhao',player.countMark('yizhao')); player.removeMark('yizhao',player.countMark('yizhao'));
const pile=Array.from(ui.cardPile.childNodes); const pile=Array.from(ui.cardPile.childNodes);
if(pile.length){ if(pile.length){
const max=max=Math.pow(2,Math.min(100,pile.length)); const max=Math.pow(2,Math.min(100,pile.length));
let bool=false,index,cards=[]; let bool=false,index,cards=[];
for(let i=0;i<max;i++){ for(let i=0;i<max;i++){
let num=0; let num=0;