Power Stats


In the game I’m writing there will be a combat system modeled after that in Heroes Rise where you could use specific abilities but at a cost of some power points you could later regain or recharge.
I’m assuming this relies on the stats system and was wondering if anyone could guide me about the coding involved in it?


Have a look at how Heroes Rise does it. You can see that https://www.choiceofgames.com/heroes-rise/scenes/ and read the various game files.