给被【劫营】目标加一个鼓励出牌的ai

This commit is contained in:
157 2024-01-30 16:44:12 +08:00
parent 693f66db7e
commit f3428a983e
1 changed files with 9 additions and 2 deletions

View File

@ -7558,6 +7558,11 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return current.hasSkill('drlt_jieying'); return current.hasSkill('drlt_jieying');
}); });
}, },
aiOrder(player,card,num){
if(player.hasMark('drlt_jieying_mark')&&game.hasPlayer(current=>{
return current.hasSkill('drlt_jieying')&&get.attitude(player,current)<=0;
})) return Math.max(num,0)+1;
}
}, },
audio:'drlt_jieying', audio:'drlt_jieying',
trigger:{ trigger:{
@ -7577,8 +7582,10 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ai:{ ai:{
nokeep:true, nokeep:true,
skillTagFilter(player){ skillTagFilter(player){
if(!player.hasMark('drlt_jieying_mark')) return false; return player.hasMark('drlt_jieying_mark')&&game.hasPlayer(current=>{
}, return current.hasSkill('drlt_jieying')&&get.attitude(player,current)<=0;
});
}
}, },
}, },
'drlt_jieying':{ 'drlt_jieying':{