吕范【调度】bugfix

This commit is contained in:
mengxinzxz 2024-03-07 08:36:08 +08:00
parent 13e9be55b6
commit ae40bef3e5
1 changed files with 2 additions and 2 deletions

View File

@ -409,12 +409,12 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return target!=get.event('aim');
},true).set('ai',target=>{
const player=get.event('player');
return att=get.attitude(player,target);
return get.attitude(player,target);
}).set('aim',aim);
if(bool&&get.owner(card)==player){
const target=targets[0];
player.line(target,'green');
await player.give([card],target);
if(target!=player) await player.give([card],target);
if(get.owner(card)==target){
const {result:{bool}}=await target.chooseUseTarget(card);
if(bool) await player.draw();