i'm trying to make an RPG battle system,
(it's posted int he 20 line challenge forum) and somone suggested that you shouldn't be able to heal above your max HP, which makes sence. But how would i do that?
also on the same lines how would i make it for an MP system, that it Uses the spell, But it checks if you have mp first
For example the each time you use a spell it uses 5 mp, and you have a max of 10 mp, so it checks to see if you have enough and if you do, then it does the spell. if you don't then it will stand by untill you choose another action (
Refer to my topic in 20 line challenge to see my coding or try what i've got so far)
A one that is not cold is scarcely a one at all