Toggle damage prediction in a skill tooltip

Hello !

I'd like my skill to display the average damage of it's formula in it's description window.
For exemple if my skill formula is :

( a.atk * 2 - b.def ) + 2

and my actor's atk is 10, I'd like the description window to say that it'd deal 21 damage average (based on an enemy with 1 def).

I found a script doing that in VXA but nothing on MV...

Do you guys have any idea how to do that ?
I know that with a simple formula like that I could say something like "Deals twice your strenght as damage +2" but I'd rather see the average number.

Thanks 😀

I've moved this thread to Plugin Requests. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/toggle-damage-prediction-in-a-skill-tooltip.106176/