Adjusting SumRndmDde's Timed Attack Speed?

Hello, I am pretty new at this and was hoping to see if anyone could help me. I am using SumRndmDde's Timed Attack Core Plugin and I was trying to figure out a formula to make it so the speed of the "minigame" is based on the enemy's hp.


For example:


If I use the timed attack on an enemy with 100% hp, the speed of the timed attack spell will be really fast.


BUT


If I use the timed attack on an enemy with 20% hp, the speed of the timed attack will be a lot slower.


In the help area of the plugin it does state that the speed's parameter can both occupy a positive number or a javascript formula. I am just really unsure on how to make that formula and help would be very much appreciated. Thank you in advance!


Plugin Link: http://sumrndm.site/timed-attack-core/
I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.
Sorry about that, I am new to the forums. Thank you for moving it for me!
Bump
Bump

Original thread: https://forums.rpgmakerweb.com/threads/adjusting-sumrndmddes-timed-attack-speed.72393/