createCard({
name:"Donkey",
rarity:"Donkey",
health:6000,
image:"https://upload.wikimedia.org/wikipedia/en/6/6c/Donkey_%28Shrek%29.png",
description: "And then one time I ate some rotten berries. hmmmhmahmmammh. Man, there were some strong gases seepin' outta my butt that day!",
moves:[({
title:"Emtional breakdown",
description:"Doney talks so much that he causes emotional damage immobalizing the opponent for one turn.",
cost: 3,
cooldown:1,
use:function(opp) {
opp.status.frozen = 1;
}
}),({
title:"kick!",
description:"Kick your enimys in th shins and deal dammage equal to the amount spent.",
cost:(randomNumber(1, 5)),
cooldown:2,
use:function(opp) {
//I'm sure you can figure this out!
}
}),({
title:"Special: Call The Dragon",
description:"Call your wife, the dragon to eat your opponent. Not sure what it does...",
cost: 7,
cooldown:2,
use:function(opp, self) {
var Donkey = randomNumber(1, 3);
if (Donkey == 1) {
}
if (Donkey == 2) {
createCard({
name:"Donkey",
rarity:"Donkey",
health:6500,
image:"https://i.ytimg.com/vi/6Q6qHRHTTPg/maxresdefault.jpg",
description: "And then one time I ate some rotten berries. hmmmhmahmmammh. Man, there were some strong gases seepin' outta my butt that day!",
});
}
if (Donkey == 3) {
opp.health -= 200;
}
}
})],
});
Sorry, the formatting was being wonky.
You also have to create a new rarity called Donkey
var rarityColors = {
"God":0,
"Legendary":"gold",
"Epic":"#8844ff",
"Rare":"#44dddd",
"Uncommon":"lime",
"Common":220,
"Donkey":"grey",
};