DAY 3

 Today I finished up the basics for our coin system.

This is what I spent the majority of the day on.


Basically what it does is when the player hovers over the coin, it grows in size a bit (for ✨✨style✨✨) and if the player clicks on it, it selects the coin, and if the player clicks on a enemy, it uses the coin's stats to attack.


Thanks for reading,

CH



Nerd code stuff:

Template Coin Attack Script

















Picks a number from 1 - 100 and if that is > or = the coins chance stat (x/100 chance) multiplied by the players luck stat, it deals damage to the inputted enemy. And if not it does nothing. Then it goes on cooldown, and subtracts a action point.


EDIT: FORGOT TO POST THIS WHOOPS

Comments

Popular posts from this blog

Day One Part One

Day 12

Day 6 (A little late)