I've made everything more readable:
{
name:"DragonFireGames", // Name
rarity:"Legendary", // Rarity
hp:5200, // Starting HP
def: 5000, // Max HP for heals
image:"https://mcdn.wallpapersafari.com/medium/75/47/2gJuCk.jpg", // Thumbnail
offx: 1, // Offset the thumbnail in the x direction, range: (-1,1)
offy: 0, // Offset the thumbnail in the y direction, range: (-1,1)
hoverDesc: "The dev of FCR and Codémon.", // Description from hover
desc: "The developer of FCR. Good at game development as well but loves tech demos. Takes pride in their use of keyValues & outside sites. Made Codémon.", // Long description
hpcol: 255, // color of hp
//isEX: true // Defaults to true for legendary/epic/god cards, false otherwise
effectModifiers: { // Status modifiers
"Laggy": 0.5, // If a number it will multiply the lvl by that number
"Arrogant": function(e) { // Function to apply to the effect
e.turns--;
return e;
},
},
moves:[{ // List of all moves
name:"Admin", // Name
description:"Strike your opponent down for 300 ATK. Each time this move is used, its damage increases by 100 ATK.", // What does it do?
cost:1, // Cost in points
cooldown:1, // How many turns before it can be used again
use:function(self) { // Code for how it works:
pickOpp(function(opp){
opp.hit(300+self.admindmg);
self.admindmg += 100;
});
},
//flavor: "text", // Optional flavor text
},{
name:"Lag Bomb",
description:"Lag out your opponent with 3D minecraft so they can only attack every other turn for 4 turns. Deal 200 ATK.",
cost:3,
cooldown:1,
use:function() {
pickOpp(function(opp){
opp.hit(200);
opp.giveEffect("Laggy",5,4);
});
},
},{
name:"Special - Reflection",
description:"Hack code.org and deal as much damage as has been taken by all of your cards in your hand.",
cost:5,
cooldown:2,
use:function() {
var dmg = 0;
for (var i = 0; i < selfHand.length; i++) {
dmg += max(selfHand[i].parent.hp-selfHand[i].hp,0);
}
pickOpp(function(opp){
opp.hit(dmg);
});
},
}],
//flavor: "text", // Optional flavor text
setup:function(self) { // Called when card instance is created
self.admindmg = 0;
}
},