Started by
WilOl
on
Topic category: User side tutorials
I have a sword that is supposed to restore health. I did it, but it can be hit without fail and still regain health. I don't understand how to make it so that health is not restored until it recharges, that is, until the sword indicator in the center of the screen is full. Please help me.
I don't know. I know how to make something happen if you have a certain amount of health though. maybe you could use durability but it would not be able to break...
maybe with a variable which gets the value of the left time of the cooldown and if the vaöue of it is 0 use the normal procedure