skill={
audio:2,
enable:"phaseUse",
filterCard:true,
usable:10,
check:function(card){
return 9-get.value(card)
},
filterTarget:function(card,player,target){
if(target.hp>=target.maxHp) return false;
return true;
},
content:function(){
target.recover();
},
ai:{
order:9,
result:{
target:function(player,target){
if(target.hp==1) return 5;
if(player==target&&player.countCards('h')>player.hp) return 5;
return 2;
},
},
threaten:2,
},
}
audio:2,
enable:"phaseUse",
filterCard:true,
usable:10,
check:function(card){
return 9-get.value(card)
},
filterTarget:function(card,player,target){
if(target.hp>=target.maxHp) return false;
return true;
},
content:function(){
target.recover();
},
ai:{
order:9,
result:{
target:function(player,target){
if(target.hp==1) return 5;
if(player==target&&player.countCards('h')>player.hp) return 5;
return 2;
},
},
threaten:2,
},
}