Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hey! Really nice battle system! I've been trying to study the code and dont seem to find the variable "damage" in the set up. I'm just starting and i'm taking a look at all the turn based systems. Could you please elaborate?

There is a variable for each of the four attacks, 1dmg, 2dmg etc.. Then when attacking there is a damage variable that gets set to one of those and there is a random chance to double it on a critical hit.