谋曹丕追思bugfix

This commit is contained in:
mengxinzxz 2024-01-20 22:57:22 +08:00
parent 92c522851b
commit d3e644f8dd
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){
return controls[0][0];
}).set('prompt','获得一名已阵亡角色的所有技能').set('map',map);
if(control){
const target2=game.dead.find(target=>map[target2.playerid]==control);
const target2=game.dead.find(targetx=>map[targetx.playerid]==control);
player.line(target2);
game.log(player,'选择了',target2);
const skills=target2.getStockSkills(true,true);