董翓修复

This commit is contained in:
mengxinzxz 2023-09-16 18:10:08 +08:00 committed by GitHub
parent fba0aec1ce
commit f825083463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -179,11 +179,15 @@ game.import('character',function(lib,game,ui,get,ai,_status){
if(evt.gaintag_map[i].contains('dcjiaoxia_used')) return true;
}
return false;
}).length&&player.getHistory('sourceDamage',evt=>evt.card==event.card).length;
}).length&&player.getHistory('sourceDamage',evt=>evt.card==event.card).length&&!['delay','equip'].contains(get.type(event.cards[0],player));
},
direct:true,
content:function(){
var card=get.copy(trigger.cards[0]);
var card={
name:get.name(trigger.cards[0],player),
nature:get.nature(trigger.cards[0],player),
isCard:true,
};
player.chooseUseTarget(card,get.prompt('dcjiaoxia'),false,false).set('prompt2','视为使用'+get.translation(card)).logSkill='dcjiaoxia';
},
},