Well, I'm a bit busy at the moment but, I do usually get back to projects.

7 days later

I implemented the functions for the moves, but I'm having trouble putting in the "Grade Bragging" ability so that the effects are only in play for a specific amount of turns. Also, I'm not sure whether "Bad Project" should cost 1 energy or not. You can choose which one. Also, I want "Anger Outburst" to always deal damage, even if the opponent has something to reduce or block the damage (ex. Ravage's "Impenetrable Vault", Blockyheadman's "Long Gone", or ItsDannyBruh's "Barricader"). I think everything else is good, so can you put it in? Here's the code:

name: "Phoenix",
rarity: "Uncommon",
health: 900,
image: "https://phoenixcreativearts.co.uk/wp-content/uploads/2021/09/ae064181a2f68f13edc5e5d08276f95d_cropped_optimized.jpg",
offx: 0,
offy: 0,
description: "An inactive and inexperienced coder that enjoys gaming.",
hpcol: 255,
moves: [{
title: "Bad Project",
description: "Create a horribly made project and have the opponent play it, causing them to take 50 damage",
cost: 0,
cooldown: 1,
use: function (opp) {
opp.health -= 50;
}
},
{
title: "Grade Bragging",
description: "Brags about good grades dealing 90 damage and making the enemy feel Stupid for 2 turns, but causes this card to become Arrogant for 4 turns.",
cost: 3,
cooldown: 2,
use: function (opp, self) {
opp.health -= 90;
opp.status = "Stupid";
self.status = "Arrogant";
}
},
{
title: "Anger Outburst",
description: "Quickly builds anger and takes it out on the opponent, dealing 200 damage no matter what and makes the opponent Irritable. Does 400 damage if this card is Irritable.",
cost: 8,
cooldown: 5,
use: function (opp, self) {
if (self.status === "Irritable") {
opp.health -= 400;
} else {
opp.health -= 200;
}
}
}
],
});```

    Phoenix
    can you surround the code with ```, it makes it easier to copy

    it makes this

      also, can I have an immunity to Stupid, and Tired, but have a 2x weakness to Arrogant and Irritable?

      My card that will probably be one of the most relatable cards:

      createCard({
        name:"Casual CDO Project",
        rarity:"Common",
        health:1000,
        image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAADACAMAAAB/Pny7AAAAY1BMVEUKDQ7///8AAAD7+/t6e3tcXV0vMjInKCqHhoampqbw8PDQ0dH39/fh4eFBQkI9PT0fICCxsbE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7U0jTN4wYbn1UI0Jap98NQ3RdQofP5EMgslkQBpn9v5w/bsF3rLKtBsspCrV2rtqSGdfbb0k3WKewwalI7jJTCDqMmtcNIKewwalI7jJTCDqMm9ddgMHGcFQr/sIAuNP9WaaPAi7fOxrcLM9NcdNroLgcOgwlMrnUWQKq7w6k1YTF8rYXa58wga95jKrKCTGdZN8/U35gotD6MT9TfLocQeGtu4OrrcApn2uHU1Nh2NJnDGC3C/6Uo1Tsr+4YguibaB2+otoYg9L2v/wHK8Jj/xcGwhAAAAABJRU5ErkJggg==",
        offx: 0,
        offy: 0,
        description: "A project on the beautiful website that lets many imaginations free onto simple coding blocks for games and projects, but just worse.",
        hpcol: 255,
        moves:[
          {
            title:"Spam Remixes",
          description:"Spam millions of remixes so people don't get the chance to view any other project dealing 25ATK each.",
          cost:1,
          cooldown:0,
          use:function(opp) {
            opp.health -= 25;
          }
        },{  
          title:"Error",
          description:"Create a project and leave an error it, then best of all publish it to your opponent. 200ATK",
          cost:5,
          cooldown:0,
          use:function(opp) {
            opp.health -= 200;
          }
      
        },
        {
          title:"Special - Remix a chat(400ATK)",
          description:"Remix chats and spam skibidi stuff on opponent but 50% chance that it gets reported and doesn't count.",
          cost:7,
          cooldown:0,
          use:function(self,opp,random) {
            random = randomNumber(1,2);
            if (random===1){
              opp.health -= 400;
            }
          }
        }],
      });

      Many "projects" can be created intentionally.

      In addition, here is another card using myself. I attempted to make the revive function, but I don't really know how the dead cards would work so if there is an error and you need to fix it please correct it or something:

      createCard({
        name:"Yogurt",
        rarity:"Rare",
        health:2050,
        image:"https://gamelab.freeflarum.com/assets/avatars/9L3rpTlDrbWMCEWa.png",
        offx: 50,
        offy: -0.25,
        description: "Creator of Retro Pong. Yeah that's right...that down bad graphic game but one of the best pong projects on CDO.",
        hpcol: 255,
        moves:[{
          title:"Bad Graphics",
          description:"Give your opponent bad horrifying graphics that they scream in terror.(Randomized 300-500ATK)",
          cost:1,
          cooldown:1,
          use:function(opp) {
            opp.health -= randomNumber(300, 500);
          }
        },{
          title:"Eat a tub of yogurt",
          description:"Eat a nutritious tub of yogurt with bluberries and granola, you gain a third of your current health.",
          cost:3,
          cooldown:1,
          use:function(self) {
            self.health += self.health/3;
          }
        },
        {
          title:"Special - Companiant",
          description:"Help back up a random card and revive him with your magical powers.",
          cost:5,
          cooldown:2,
          use:function(revive) {
            revive = selfDefeated[randomNumber(0,selfDefeated.length)];
            revive.health = 1000;
            removeItem(selfDefeated, selfDefeated.length);
            selfHand.push(revive);
            //change this please because I don't know how the dead cards would work XD
          }
        }],
      });
      a month later

      I don't know what to do lol I clicked the link how do I type the code

        ik but where is the code to put in the card I don't see(k) the create card variable

        seek it keeps saying unmatched this is not good

        Just edit a template like this:

        {
            name:"DragonFireGames",
            rarity:"Legendary",
            hp:5200,
            def: 5000,
            image:"https://mcdn.wallpapersafari.com/medium/75/47/2gJuCk.jpg",
            offx: 1,
            offy: 0,
            shortDesc: "The dev of FCR and Codémon.",
            desc: "The developer of FCR. Good at game development as well but loves tech demos. Takes pride in her use of keyValues & outside sites. Made Codémon.",
            hpcol: 255,
            moves:[{
              name:"Admin",
              description:"Strike your opponent down for 300 ATK. Each time this move is used, its damage increases by 100 ATK.",
              cost:1,
              cooldown:1,
              use:function(self) {
                pickOpp(function(opp){
                  opp.hit(300+self.admindmg);
                  self.admindmg += 100;
                });
              }
            },{
              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);
                });
              }
            }],
            setup:function(self) {
              self.admindmg = 0;
            }
          },
        • seek replied to this.

          seek Just edit it in a word document or something and send it to me, I can show you the result

          • seek replied to this.

            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;
                }
              },

            Awards

            • â’¸ 0.1 from person
              Comment: Legible is the word your looking for

            Chat