I need to be able to heal myself when my health goes below 50%. How would I do this?
here's what the MUD sends me when I get damaged.
IE
Hp: 70 60%
Human bandit hits you.
How to array
Re: How to array
Something like this (bare minimum of effort unless you want to build a modular system):
And you would probably add in extra variables like your health balance or a cooldown timer so you don't spam it.