Lil-Starcast
here is the format
{
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)
hover: "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
//tsize: 19, // description text size (defaults to 19)
//hpcol: 255, // color of hp (defaults to white)
//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
"Frozen": function(e) { // Function to apply to the effect
e.turns /= 2;
return e;
},
},
moves:[{ // List of all moves
name:"Admin", // Name
desc:"Strike your opponent down for 300 ATK. Each time this move is used, its damage increases by 100 ATK.", // What does it do?
//tsize: 19, // description text size (defaults to 19)
cost:1, // Cost in points
cooldown:1, // How many turns before it can be used again
target:"opp", // Target: "opp" "self" "none" or a custom function
use:function(sel,self) { // Code for how it works:
sel.hit(300+self.admindmg+sel);
self.admindmg += 100;
},
//flavor: "text", // Optional flavor text
},{
name:"Lag Bomb",
desc:"Lag out your opponent with 3D minecraft for 8 turns. Deal 200 ATK.",
cost:3,
cooldown:1,
target:"opp",
use:function(sel,self) {
sel.hit(200);
sel.giveEffect("Laggy",0.5,8);
},
flavor: "\"Just get a better PC\"",
},{
name:"Special - Reflection",
desc:"Hack code.org and deal twice as much damage as health missing by all of your cards in your hand.",
cost:5,
cooldown:2,
target:function(use,inst,opp,self) { // Target will be run only once on one client | WARNING: | do not modify anything here
var dmg = 0;
for (var i = 0; i < self.hand.length; i++) {
dmg += max(self.hand[i].def-self.hand[i].hp,0);
}
dmg *= 2;
opp.hand.pick(function(sel){
use(sel,dmg);
});
},
use:function(sel,dmg) { // Use will be run on both clients | WARNING: | do not put random functions or card pickers in here
sel.hit(dmg);
},
}],
//flavor: "text", // Optional flavor text
setup:function(inst) { // Called when card instance is created
inst.admindmg = 0;
},
//onselect:function(inst,opp,self) { // Called when card enters hand (optional)
// // Code here
//},
//onturn:function(inst,opp,self) { // Called every turn in hand
// // Code here
//},
ondefeat:function(killer,inst,opp,self) { // Called when card defeated (optional)
killer.hit(100); // Hits the killer for 100 HP
},
profile: "https://gamelab.freeflarum.com/u/DragonFireGames"
},