Hi all,
I'm using Yanfly Battle System STB which allows me to define a formula used for action speed. By default they use AGI, but I need to do something different with it.
I think I may have finally figured out how to get it to do what I want (run a script to randomly set the value of a certain Parameter separately for each actor at the start of a battle, and then have that plugin use that value for the action speed), but I've hit a problem.
I want to use CRI for that value (since it's been freed up for my use via plugins and isn't actually affecting my critical chance), but for some reason if I set an Ex-Parameter as the action speed value, it makes the battle lag like crazy. (I've tried it on Sp-Parameters and they have the same problem.) I don't know why the plugin can access Parameters just fine, but huff and puffs getting those Ex-Parameters to go, but I don't know that there's anything I can do about that. Setting the action speed to a variable (such as $gameVariables.value(1)) doesn't slow down the performance like an Ex-Parameter, but it is also completely useless since the value will be the same for everyone. I need some way to reference X in that action speed formula, where X will be different for each battler.
So, as an alternative, does anyone know of any other way (standard function, plugin that exists, couple lines of code, etc) to have some sort of value that functions like a Parameter--ie, every actor and enemy possesses their own value for it? Hopefully there is some other way to get access to that sort of functionality so I can see if the plugin will accept it for action speed.
Thanks all!
I'm using Yanfly Battle System STB which allows me to define a formula used for action speed. By default they use AGI, but I need to do something different with it.
I think I may have finally figured out how to get it to do what I want (run a script to randomly set the value of a certain Parameter separately for each actor at the start of a battle, and then have that plugin use that value for the action speed), but I've hit a problem.
I want to use CRI for that value (since it's been freed up for my use via plugins and isn't actually affecting my critical chance), but for some reason if I set an Ex-Parameter as the action speed value, it makes the battle lag like crazy. (I've tried it on Sp-Parameters and they have the same problem.) I don't know why the plugin can access Parameters just fine, but huff and puffs getting those Ex-Parameters to go, but I don't know that there's anything I can do about that. Setting the action speed to a variable (such as $gameVariables.value(1)) doesn't slow down the performance like an Ex-Parameter, but it is also completely useless since the value will be the same for everyone. I need some way to reference X in that action speed formula, where X will be different for each battler.
So, as an alternative, does anyone know of any other way (standard function, plugin that exists, couple lines of code, etc) to have some sort of value that functions like a Parameter--ie, every actor and enemy possesses their own value for it? Hopefully there is some other way to get access to that sort of functionality so I can see if the plugin will accept it for action speed.
Thanks all!