From 334256821f95d96ae282af42ea2725e93485a8dc Mon Sep 17 00:00:00 2001 From: copcap Date: Thu, 9 Nov 2023 15:20:08 +0800 Subject: [PATCH] revert shiji.js --- character/shiji.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/character/shiji.js b/character/shiji.js index 266a059c2..f00dad3d3 100644 --- a/character/shiji.js +++ b/character/shiji.js @@ -1472,7 +1472,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ if(event.card.name!='sha'||!event.cards||event.cards.length!=1) return false; var evt=event.getParent('phaseUse'); return evt&&evt.player==player&&player.getHistory('useCard',function(evt2){ - return evt2.card.name=='sha'&&evt2.cards&&evt2.cards.length==1&&evt2.getParent('phaseUse')==evt; + return evt2.card.name=='sha'&&evt.cards&&evt.cards.length==1&&evt2.getParent('phaseUse')==evt; }).indexOf(event)==0; }, content:function(){