Regen HP while walking but not in battle

I need a way to make certain armor allow the player to regen HP while walking but not during battle. I also need to be able to control how many steps are required to regen a single HP. Is there anyway to do this?
See here: https://forums.rpgmakerweb.com/inde...-effect-without-affecting-hp-in-battle.25906/
This is for VX Ace but the logic is the same.

I've attached what the common event may look like:
Rsv5Ltc.png


Control Variables > Game Data > Steps is the step count

z66xqWX.png


Here, Harold will recover 10hp every 10 steps but you should change the numbers.

If you want a script for this then you need to post in Plugin Requests.

p.s. Hello fellow Californian!

Original thread: https://forums.rpgmakerweb.com/threads/regen-hp-while-walking-but-not-in-battle.85270/