Merge pull request #433 from MDYY1/PR-Branch

为addJudgeNext添加牌的位置判断
This commit is contained in:
Spmario233 2023-09-30 22:04:53 +08:00 committed by GitHub
commit beb126390c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -25138,8 +25138,12 @@
if(mod!='unchanged') return mod;
return true;
},
addJudgeNext:function(card){
addJudgeNext:function(card,unlimited){
if(!card.expired){
if(get.postion(card,true)!=='o'&&get.postion(card,true)!=='j'&&!unlimited){
game.log('将',card,'移入',this.next,'的判定区失败');
return;
}
var target=this.next;
var name=card.viewAs||card.name;
var bool=false;