Hello!
my question may seem very simple for some, but I have tried looking all over for an answer, with no luck.
I am using Yanfly's ATB system, and I'm looking for a way to randomize the ATB gauge of all fighters at the start of a battle, let's say between 0% and 60% of the full gauge.
In the plugins settings, there's an option called "Initial Speed". Yanfly said about it: Under the 'Initial Speed' setting, type in the formula of how you want the ATB gauge to be filled up randomly.
Unfortunately, I know nothing about how eval work. I have tried things like Math.random(0% ,60%) or Math.random(0,300) (I have set turns duration to 300), but it doesn't work
Can anyone help me with this?
Thank you in advance!
my question may seem very simple for some, but I have tried looking all over for an answer, with no luck.
I am using Yanfly's ATB system, and I'm looking for a way to randomize the ATB gauge of all fighters at the start of a battle, let's say between 0% and 60% of the full gauge.
In the plugins settings, there's an option called "Initial Speed". Yanfly said about it: Under the 'Initial Speed' setting, type in the formula of how you want the ATB gauge to be filled up randomly.
Unfortunately, I know nothing about how eval work. I have tried things like Math.random(0% ,60%) or Math.random(0,300) (I have set turns duration to 300), but it doesn't work
Can anyone help me with this?
Thank you in advance!