skill={
enable:"phaseUse",
filter:function (event, player){
return player.countCards('he');
},
filterCard:true,
position:"he",
complexCard:true,
selectCard:[1,4],
check:function () {
return -1
},
filterTarget:function(card,player,target){
return player!=target;
},
content:function () {
"step 0"
player.useCard({name:'sha'},target,false);
"step 1"
var num=[]
var history=player.getHistory('useCard');
for(var i=0;i<history.length;i++){
if(history[i].card.name=='sha'){
num++
}
}
if(num<cards.length) event.goto(0);
},
}