This commit is contained in:
PZ157 2023-11-27 17:22:15 +08:00
parent 8b76c6218f
commit 3f6cf09add
2 changed files with 2 additions and 2 deletions

View File

@ -5905,7 +5905,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
aiOrder:(player,card,num)=>{
if(num&&card.name==='sha'&&get.color(card)==='red'){
let gp=game.findPlayer(current=>{
return current.hasSkill('relongyin')&&current.hasCard(i=>true,'h');
return current.hasSkill('relongyin')&&current.hasCard(i=>true,'he');
});
if(gp) return num+0.15*Math.sign(get.attitude(player,gp));
}

View File

@ -7639,7 +7639,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
aiOrder:(player,card,num)=>{
if(num&&card.name==='sha'&&get.color(card)==='red'){
let gp=game.findPlayer(current=>{
return current.hasSkill('longyin')&&current.hasCard(i=>true,'h');
return current.hasSkill('longyin')&&current.hasCard(i=>true,'he');
});
if(gp) return num+0.15*Math.sign(get.attitude(player,gp));
}