I'm trying to make a passive ability.
I would like to introduce passive abilities into my game. The one I'm having the most trouble with is one I've named "Iron Will"
Basically, I would like there to be a %chance that when the Actor hits 0 hp, that he will be restored to 1 hp.
I'm having a really hard time getting this to work, and really would appreciate any help I can get.
Thanks in Advance!