|
|
|
|
@ -16,6 +16,16 @@ function removeFlight(card){
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
function giveReach(card){
|
|
|
|
|
reach[card] = true;
|
|
|
|
|
}
|
|
|
|
|
function removeReach(card){
|
|
|
|
|
if(card in reach){
|
|
|
|
|
delete reach[card];
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Active
|
|
|
|
|
function equip(){
|
|
|
|
|
@ -27,6 +37,10 @@ function unequip(){
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function drawCard(drawAmount, player){
|
|
|
|
|
board.drawACard(player, drawAmount);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function heal(healAmount, healPlayer){
|
|
|
|
|
// For each heal 1..4
|
|
|
|
|
for(let i = 0; i < healAmount; i++){
|
|
|
|
|
|