This is similar to being burned or poisoned in Pokémon. A status is something that you can put on a card as a long-lasting effect. There are two types of effects: Permanent and non-permanent. Some examples of permanent effects are:

  • Laggy
  • Dumb

Some non-permanent effects are:

  • Burning
  • Poisoned
  • Blinded

You can make a card give another card a status by using: opp.push.status when making a card. Non-Permanent status's end after 1-5 turns

    gZany That's not exactly how I'm seeing it. I'll make a post detailing the whole system.

      gZany Well yes, obviously. However, if any other members join the dev team, they'll also have access to this account.

        gZany opp.push.status

        I changed the opp.status property from an array to an object, the current version uses opp.status.STATUS_NAME = VALUE

        Also, the value of a status determines what it will do. For example, setting opp.status.poisioned = 10 means that 10 damage will be dealt per turn while opp.status.frozen = 10 will freeze the opponent for 10 turns. Additionally, the difference between burning and poison is that poison is permanent while burning lasts for some number of turns.

        UPDATE: It's now a system where effects are instances and pushed into a list of max 10 effects. This allows me to more easily trigger them.

        Chat