ackvonhuelioLvl 41
- Edited
DragonFireGames
createCard({
name:"Ack",
rarity:"Epic",
health:5000,
image:"https://gamelab.freeflarum.com/assets/avatars/01zp1scQW3PL2SJj.png",
offx: 0,
offy: 0,
description: "A pretty cool guy who made some stuff on KA, ew.",
hpcol: 255, /*no idea what this does*/
moves:[{
title:"Stall",
description:"Take an extra turn after this one. Does no damage.",
cost:1,
cooldown:2,
use:function(opp) {
activePlayer.extraTurns++; /*idfk*/
}
},{
title:"Disable",
description:"Choose one of your opponent's attacks. It permanently costs 2 more energy.",
cost:3,
cooldown:2,
use:function(opp) {
var select=promptNum('Enter 1-3 which attack to target with disable. (Top to bottom 1-3)');
if(!(select >= 1 && select <=3)){
select = 1;
}
select = round(select);
select--;
while(!opp.moves[select] && select > 0){
select--;
}
if(opp.moves[select]){
opp.moves[select].cost+=2;
}
}
},{
title:"Have you heard of a magical place called KA?",
description:"Yeah, yeah, we get it. Opponent must choose one: Take 400 damage times the number of times this move has been used, remove all other cooldowns on Ack, or give you 4 ⚛ points",
cost:2,
cooldown:1,
use:function(opp,self) {
if(!self.usedKA){
self.usedKA=0;
}
self.usedKA++;
awaitOppPrompt('choose:\n1) take 400*'+self.usedKA+'damage ('+(400*self.usedKA)+' dmg)\n2) remove cooldowns of all other attacks\n3) give opponent 4 ⚛ points',function(select,opp,self){
if(!(select>=1 && select <=3)){
select = 1;
}
switch(round(select)){
case 1:
opp.health -= self.usedKA*400;
break;
case 2:
for(var i = 0; i < self.moves.length; i++){
if(i !== 2){
self.cooldowns[i] = 0;
/*idk what you're doing for this*/
}
}
break;
case 3:
self.points += 4;
/*this?*/
break;
}
});
}
}],
});
not sure whether 1 cooldown means you have to wait one turn or if it means you can use an ability every turn. I assumed the first one.