Help with a TBS

I wasn't sure if this would go in here or in Support. Sorry if it's in the wrong place. It's kind of a request and a support thread.

So, what I'm basically looking for is a Tactical Battle script, but with two important things added on:

1. The amount of spaces you can move is completely determined by the result of your dice roll. Let me go into a bit more depth. In this game, you have several types of dice in your inventory which roll different amounts. Which means there would need to be something customizable in the script to tell it which die has which effects.

2. Instead of on the map, the battle system would need to be on a battleback.

The closest thing I found to what I'm looking for is Saba-Kan's Kiseki EX. Now, the problem there is that for some reason, after playing for a while, the turn order stops working and either I or the enemies never get a turn. So if someone were to edit this script, I'd need a fix for that bug as well as the feature that I specified above. Any help with this would be appreciated.
after playing for a while
I tried the demo and could not get it to replicate that bug. I did over 20 battles and did guard in one for 30 rounds. no issues. I don't see any bug.

on a battleback
That's the default system. Playing a battle on a map is more towards an ABS like falco pearl system.

move is completely determined by the result of your dice roll.
I don't know any script that uses dice. Programming a battle system is the hardest thing and I will likely never attempt.
I tried the demo and could not get it to replicate that bug. I did over 20 battles and did guard in one for 30 rounds. no issues. I don't see any bug.
I did try it a few years ago, so it was probably just my computer.
That's the default system. Playing a battle on a map is more towards an ABS like falco pearl system.
Most of the TBSs I've seen use the map, which is why I'm asking for one that doesn't.
I don't know any script that uses dice. Programming a battle system is the hardest thing and I will likely never attempt.
I'm not asking for a whole script. I'm asking for a feature added on that uses a random number (shown as a dice roll) to determine moveable squares. If you don't want to edit a battle system, you really didn't need to click on this thread just to be snappy.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-a-tbs.137848/