修复合赵云【龙临】多次触发bug

This commit is contained in:
Spmario233 2024-01-18 22:33:00 +08:00
parent c8ae2384ec
commit 92ebfbb96f
1 changed files with 1 additions and 2 deletions

View File

@ -701,8 +701,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return p+c;
},0)<-4).set('logSkill',['jsrglonglin',trigger.player]);
if(result.bool){
trigger.targets.length=0;
trigger.all_excluded=true;
trigger.excluded.addArray(trigger.targets);
game.asyncDelayx();
if(trigger.player.canUse(juedou,player)){
const {result}=await trigger.player.chooseBool(`是否视为对${get.translation(player)}使用一张【决斗】?`).set('choice',get.effect(player,juedou,trigger.player,trigger.player)>=0);