diff --git a/character/huicui.js b/character/huicui.js index caf6aca7a..219849585 100644 --- a/character/huicui.js +++ b/character/huicui.js @@ -1738,7 +1738,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ player.useCard({name:'sha',isCard:true},trigger.player,false).set('shanReq',num).set('oncard',card=>{ var evt=_status.event; evt.baseDamage++; - for(var target of evt.targets){ + for(var target of game.filterPlayer(null,null,true)){ var id=target.playerid; var map=evt.customArgs; if(!map[id]) map[id]={}; diff --git a/character/yingbian.js b/character/yingbian.js index 29dbdd735..03d5af096 100644 --- a/character/yingbian.js +++ b/character/yingbian.js @@ -85,7 +85,7 @@ game.import('character',function(lib,game,ui,get,ai,_status){ shanReq:cards.length, oncard:()=>{ var evt=get.event(); - for(var target of evt.targets){ + for(var target of game.filterPlayer(null,null,true)){ var id=target.playerid; var map=evt.customArgs; if(!map[id]) map[id]={};