修复神张辽【夺锐】ai

This commit is contained in:
157 2024-01-08 10:11:58 +08:00
parent 30cdffdb19
commit 18da17fb00
1 changed files with 3 additions and 2 deletions

View File

@ -4777,7 +4777,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return list.length>0;
},
check:function(event,player){
if(get.attitude(player,event.player)>=0) return false;
if(get.attitude(_status.event.player,event.player)>=0) return false;
if(event.getParent('phaseUse').skipped) return true;
var nd=player.needsToDiscard();
return player.countCards('h',function(card){
@ -7015,8 +7015,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
source:'damageSource'
},
filter:function(event,player){
if(get.attitude(_status.event.player,event.player)>=0) return false;
if(player.storage.drlt_duorui.length) return false;
return player!=event.player&&event.player.isIn()&&_status.currentPhase==player;
return event.player.isIn()&&_status.currentPhase==player;
},
check:function(event,player){
if(player.hasEnabledSlot()&&!player.hasEnabledSlot(5)) return false;