Help with passive ability done with events (Restoring HP by walking)

Good morning / afternoon / evening

13.06.2021_00.37.40_REC.png


Above is the parallel process event that i'm using for an ability where an actor restores hp gradually by walking on the map, but it doesn't seem to work properly as the actor was getting their hp restored constantly without even moving an inch.

can anyone tell me what i'm doing wrong?

Any help is appreciated.
it because its only checking if they have done more then 25 steps total. that would happen pretty much right at the start of the game. that variable is never under 25 after that point.
you could try
control variable: step = steps
if variable steps >= next tick
> change HP
> control variable: next tick = steps + 25
What you actually want to be checking is whether steps % 25 is equal to 0.
Someone helped me achieve it on the discord server. Here is their solution:

13.06.2021_01.19.00_REC.png


This is what worked for me.

Thank you, everyone.
is next tick a new variable? or something that is actually in the database for me to use?
It's the name of the variable he's telling you to set in the last line.
Someone helped me achieve it on the discord server. Here is their solution:

13.06.2021_01.19.00_REC.png


This is what worked for me.

Thank you, everyone.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-passive-ability-done-with-events-restoring-hp-by-walking.137412/