DragonFireGames Also for the couch move you forgot to remove the semicolon and the quotation marks
Create your cards!
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/
Phoenix up for a game?
YogurtLvl 1
Yo what is happening
Context: I was playing with seek, but I think he was afk, so I quit the game. And for some reason, I joined back and this started to happen. Don't know how this is caused.
I don't see why not
Also how do I change the avatar
I know that but It says paste image
DragonFireGamesLvl 11
- Edited
Yogurt hmm, not sure, seems to be a matchmaking issue, ugh
DragonFireGamesLvl 11
Also, all the effects should be fully implemented. I'm working on a GUI rn.
DragonFireGamesLvl 11
Additionally, some cards have large attack description text that overflows, if you see that, report it to me and I'll lower the size of the text.
DragonFireGamesLvl 11
- Edited
Yogurt Your game probably wasn't removed from matchmaking and since it had already started but you had left it appeared like a good new game... I'm unsure of how to fix this...
DragonFireGamesLvl 11
seek If the opponent quits you win automatically.
DragonFireGamesLvl 11
- Edited
DragonFireGames I'm making turns automatically end when the red bar empties as well.