From 28606c8009e6e32ecfb9e11f1f2fc83d1eb785c1 Mon Sep 17 00:00:00 2001 From: mengxinzxz <2223529500@qq.com> Date: Sat, 3 Feb 2024 13:27:17 +0800 Subject: [PATCH] bugfix --- character/sp2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/sp2.js b/character/sp2.js index e97c12456..8fa7d6877 100644 --- a/character/sp2.js +++ b/character/sp2.js @@ -221,7 +221,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ },true).set('cardx',cardx).set('selectTarget',[1,cards.length]) .set('prompt','请选择'+(game.hasNature(cardx)?get.translation(get.nature(cardx)):'')+'【'+get.translation(cardx)+'】('+get.translation(cards)+')的目标') .set('ai',target=>{ - const player=get.event('player'),card=get.event('playerx'); + const player=get.event('player'),card=get.event('cardx'); return get.effect(target,card,player,player); }); if(bool) player.useCard(cardx,cards,targets.sortBySeat());