优化OL谋袁绍【合讨】ai

This commit is contained in:
mengxinzxz 2024-02-22 01:30:08 +08:00
parent 6c9faee32f
commit 4600f47695
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ game.import('character',function(lib,game,ui,get,ai,_status){
ai:{
effect:{
player(card,player){
if(!game.hasPlayer(target=>{
return target.hasSkill('olsbhetao')&&(get.attitude(player,target)<0||get.attitude(target,player)<0);
})) return;
const select=get.copy(get.info(card).selectTarget);
let range;
if(select==undefined) range=[1,1];