YogurtLvl 1
- Edited
In addition, here is another card using myself. I attempted to make the revive function, but I don't really know how the dead cards would work so if there is an error and you need to fix it please correct it or something:
createCard({
name:"Yogurt",
rarity:"Rare",
health:2050,
image:"https://gamelab.freeflarum.com/assets/avatars/9L3rpTlDrbWMCEWa.png",
offx: 50,
offy: -0.25,
description: "Creator of Retro Pong. Yeah that's right...that down bad graphic game but one of the best pong projects on CDO.",
hpcol: 255,
moves:[{
title:"Bad Graphics",
description:"Give your opponent bad horrifying graphics that they scream in terror.(Randomized 300-500ATK)",
cost:1,
cooldown:1,
use:function(opp) {
opp.health -= randomNumber(300, 500);
}
},{
title:"Eat a tub of yogurt",
description:"Eat a nutritious tub of yogurt with bluberries and granola, you gain a third of your current health.",
cost:3,
cooldown:1,
use:function(self) {
self.health += self.health/3;
}
},
{
title:"Special - Companiant",
description:"Help back up a random card and revive him with your magical powers.",
cost:5,
cooldown:2,
use:function(revive) {
revive = selfDefeated[randomNumber(0,selfDefeated.length)];
revive.health = 1000;
removeItem(selfDefeated, selfDefeated.length);
selfHand.push(revive);
//change this please because I don't know how the dead cards would work XD
}
}],
});