bug修复

This commit is contained in:
157 2024-01-08 00:42:14 +08:00
parent 18d5ff8f7a
commit a893c602ba
3 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
// hs_baiguyoulong:['male','qun',4,['hstianqi']], // hs_baiguyoulong:['male','qun',4,['hstianqi']],
hs_yangyanwageli:['female','qun',3,['hspuzhao','hsyanxin']], hs_yangyanwageli:['female','qun',3,['hspuzhao','hsyanxin']],
hs_aiqinvyao:['famale','qun',4,['nsaiqi','nsbeiming']], hs_aiqinvyao:['female','qun',4,['nsaiqi','nsbeiming']],
hs_yelinlonghou:['female','qun',4,['ylyuchu']], hs_yelinlonghou:['female','qun',4,['ylyuchu']],
hs_yelinchulong:["male","qun",1,[],['unseen']], hs_yelinchulong:["male","qun",1,[],['unseen']],

View File

@ -7698,7 +7698,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
var nh=_status.currentPhase.countCards('h')+1; var nh=_status.currentPhase.countCards('h')+1;
var players=game.filterPlayer(); var players=game.filterPlayer();
for(var i=0;i<players.length;i++){ for(var i=0;i<players.length;i++){
if(players[i].countCards('h')>nh){ if(players[i].countCards('h')>=nh){
if(!player.countCards('h','shan')||get.attitude(player,players[i])<=0) return true; if(!player.countCards('h','shan')||get.attitude(player,players[i])<=0) return true;
} }
} }

View File

@ -8560,7 +8560,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
audio:2, audio:2,
enable:'phaseUse', enable:'phaseUse',
filter:function(event,player){ filter:function(event,player){
if(player.countCards('h')==0) return false; if(player.countCards('he')==0) return false;
if(!player.hasSkill('qiangxix')) return true; if(!player.hasSkill('qiangxix')) return true;
if(!player.hasSkill('retieji')) return true; if(!player.hasSkill('retieji')) return true;
if(!player.hasSkill('olxuanfeng')) return true; if(!player.hasSkill('olxuanfeng')) return true;