revert shiji.js

This commit is contained in:
copcap 2023-11-09 15:20:08 +08:00
parent 1723da5a46
commit 334256821f
No known key found for this signature in database
GPG Key ID: 9AE7B8AF097EC926
1 changed files with 1 additions and 1 deletions

View File

@ -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; if(event.card.name!='sha'||!event.cards||event.cards.length!=1) return false;
var evt=event.getParent('phaseUse'); var evt=event.getParent('phaseUse');
return evt&&evt.player==player&&player.getHistory('useCard',function(evt2){ 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; }).indexOf(event)==0;
}, },
content:function(){ content:function(){