Stamina/Range movement in battle.

I'm using Yanfly's Battle Engine and i'm wanting to find a plugin that removes the return home function after each attack and also implement 2 new stats:

Stamina/Range: which when the player attacks the actor will move a certain amount of pixels/steps depending on the stat number of Stamina/Range if the actor is within a certain amount of pixels to the enemy he will attack if he is not he will just end turn without attacking.

The other stat is
Attack #: which if the attack is 1 he will move the normal amount depending on Stamina/Range and if he gets within attack range he will attack once, if he has 2 he will move twice the amount of Stamina/Range and if the actor comes within the attack range he will attack twice if he entered attack range before having to move the amount of Stamina/Range before it was doubled.

Example: if Stamina/Range is 15 and Attack # is = 2 if the actor reaches the enemy before he takes 15 steps he will attack the enemy twice but if he takes 16 - 30 steps to reach the enemy he will only attack once.

also, he reaches enemy number 1 before taking 15 steps and attacks the enemy and Enemy 1 dies i would like for him to move on to enemy number 2 if he reaches Enemy 2 with the remaining steps he will also attack Enemy 2.

I'm not quite sure how easy or hard this would be to implement. The idea was taken from Lunar 2 Eternal Blue and how that battle system works. I also don't know if a whole new battle system would have to be created. If anyone could help or give some insight on this or know of a way to implement this, it would be greatly appreciated.

Images to further explain.
Spoiler: Example 1
10xvm9u.png

Spoiler: Example 2
cy6Awk.png
Thanks.
This is the exact same thing as the Lunar series does. 🙂 Following out of curiosity.

-MIA

If this isn't similar/exactly to what you're asking, I'll remove it. I think the video of the battle could be helpful in portraying your request. 🙂
Yeah the idea was taken from Lunar 2 Eternal Blue.

Original thread: https://forums.rpgmakerweb.com/threads/stamina-range-movement-in-battle.82725/