Overtime heal

As the title I am curious if it is possible if yes how
Also if the title is not clear
I would like it
For every minute aka 60 seconds all actors will recover a certain % of HP/MP
This way it could work, just make sure the switch is activated.(Picture 1 ignore the text, it was just to know when it would trigger)
If you want %Heal maybe try it with a state. (2nd Picture)
It worked for me.
Just adjust the 600 Frames Waiting I think this could work with 1 Minute but I don't want to wait a few Minutes just for testing^^
(Edit: this is in the common event menu)

1715452512799.png
1715452945775.png
1715452978960.png
This way it could work, just make sure the switch is activated.(Picture 1 ignore the text, it was just to know when it would trigger)
If you want %Heal maybe try it with a state. (2nd Picture)
It worked for me.
Just adjust the 600 Frames Waiting I think this could work with 1 Minute but I don't want to wait a few Minutes just for testing^^
(Edit: this is in the common event menu)

View attachment 304808View attachment 304809View attachment 304810
Thanks so I just must create a new state for %
Also a new issue happened does the state get removed if I use the command heal all and remove all states if it does how I can fix it?
Wherever you use that event command you'd use another event command to put the state back on.
Wherever you use that event command you'd use another event command to put the state back on.
Oh so I just use copy paste the whole time thx
Thanks so I just must create a new state for %
Also a new issue happened does the state get removed if I use the command heal all and remove all states if it does how I can fix it?
The way I did was, that I think the state is automaticly removed when applied by turning the "duration in Turns" to 0-0.
If I am correct it will just do the effect once, but then remove itself immediatly.

But because the Event is a common Event that is active as long you have a switch on, it will reapply itself after a certain time. thus it should be unaffected by any state remove and or recover all
I think I fixed the issue I just put the common event in loop and even if the state is removed the states get reapplied
Wherever you use that event command you'd use another event command to put the state back on.
I guess we can close this thread also gonna create another thread for another question
The way I did was, that I think the state is automaticly removed when applied by turning the "duration in Turns" to 0-0.
If I am correct it will just do the effect once, but then remove itself immediatly.

But because the Event is a common Event that is active as long you have a switch on, it will reapply itself after a certain time. thus it should be unaffected by any state remove and or recover all

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/overtime-heal.168543/