Customising Yanfly's ATB plugin

Hi,


I was going through setting up my preferred battle system; ATB, using the universally accepted method of bowing to the might and wonder of Yanfly scripting; http://yanfly.moe/2015/11/06/yep-24-battle-system-active-turn-battle/ when I came across a lack of knowledge on my part.


In Yanfly's plugin; YEP_BattleSysATB; there is an option to make the charge speed of an attack set to whatever.


Reads as follows:


Charge Gauge:


Math.max(2000, BattleManager.highestBaseAgi() * 20)


The wind-up time after selecting an action. This formula is calculated as an eval.


I would like to make an addition to this to make it something like: BaseAgi + CurrentTP; for each character/monster.


This also links to my other desired customisation of this plugin:


Initial Speed:


0


The speed position of the battler at the start of the battle. This formula is calculated as an eval.


I would like to make this one similar with a randomised difference such as:


BaseAgi + RandomValue: 0~CharacterCurrentLevel


I have no idea if this one is possible; but I imagine this community will be able to assist in curtailing my noobisms on java


Thanks for your consideration and/or assistance!
I've moved this thread to Javascript/Plug-in Support. Please be sure to post your threads in the correct forum next time. Thank you.



Also please post a link to the plug-in in question. That way we can see for ourselves the plug-in in question.


And one more suggestion. You mentioned using a plug-in in the post, but your profile says you use ACE. May wish to clarify which engine  you are referring to in the future, else it will get confusing.

Original thread: https://forums.rpgmakerweb.com/threads/customising-yanflys-atb-plugin.73986/