Create your cards!
create card[{
name:"Sharky boi"
rarity:"rare"
hp:3500
def:1000
image:[upl-image-preview url=https://gamelab.freeflarum.com/assets/files/2024-04-10/1712714534-421303-image.png]
offx:1
offy:0
shortDesc:"an old friend of seek"
desc:"they met when seek started using chats until sharky dissapeared with no trace"
moves: [{
name:"couch"
Desc:"sharky creates a couch (yes he did that once) 400 ATK"
cost:3
cooldown:2
name:"counter"
desc:"flip a coin if heads, sharky's damage is split between both codemon for 1 turn"
cost:5
cooldown:6
name:"rest"
desc:"sharky sleeps on a couch for 3 turns healing 40 hp on each turn"
cost:3
cooldown:4
abillity:"comfy clothing"
desc:"Sharky's onesie is so soft he heals 80 hp at the start of his turn"
DragonFireGamesLvl 11
seek I can't do 4 abilities, it won't fit on the card. Also, unless you can prove his programming ability, I will reduce his card to common.
DragonFireGames well you didn't put my abillity on the card right? I mean it's meant to be similar to the ability I had
DragonFireGamesLvl 11
seek I'll modify the card a bit and send you the result
DragonFireGames Idk about his coding ability I want him rare cause I haven't seen him in like idk 3 years
DragonFireGamesLvl 11
seek Rarity has nothing to do with how active they are online, I know it's kinda elitist, but I only give higher rarities to talented coders. (I make an exception for forum admins)
DragonFireGames oh :(
Lil-StarcastLvl 6
- macOS
DragonFireGames So Ig I would be a common card XD I have pretty much zero coding experience. I barely know enough html to program a website. I don't know how to even make one of those cards... 😬
DragonFireGamesLvl 11
- Edited
seek Here you go:
{
name:"Sharky_boi",
rarity:"Common",
hp: 350,
def: 350,
image:"https://gamelab.freeflarum.com/assets/files/2024-04-10/1712714534-421303-image.png",
offx: 0,
offy: 0,
hover: "An old friend of seek",
desc: "An old chat user who is now inactive. Met seek when they started using chats until sharky disappeared with no trace.",
moves:[{
name:"\"Couch\"",
desc:"Sharky makes a couch making the opponent Tired for 3 turns.",
cost:1,
cooldown:1,
target:"opp",
use:function(sel){
sel.giveEffect("Tired",0.2,3);
}
},{
name:"comfy clothing",
desc:"Heal 100 HP in your comfy onesie.",
cost:3,
cooldown:1,
target:"none",
use:function(inst,opp,self) {
inst.heal(100);
}
}],
//profile: "https://gamelab.freeflarum.com/u/",
},
DragonFireGamesLvl 11
Lil-Starcast basically, you can make yourself a card if you want
DragonFireGames interesting so can you have more than one card at once?
DragonFireGamesLvl 11
seek wdym? not really, you can make cards for other ppl though.
DragonFireGames Since he has no moves that do damage
DragonFireGamesLvl 11
seek I guess, tired is an effect which reduces damage from an attacker. Sharky reduces their damage by 20%.
DragonFireGames Also for the couch move you forgot to remove the semicolon and the quotation marks
DragonFireGamesLvl 11
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"
},
DragonFireGamesLvl 11
Here is the current game:
https://studio.code.org/projects/gamelab/R24z5HF3cCAMZX6FpYXZk2UXk1ebsWS6hgrQiFMx7WA/