Hello everyone, this is my first post, I hope I'm in the clear, if not, let me know. Also, English is not my first language so bear with me while I try to explain myself, he he.
I'm currently working on my own RPG, and I'm establishing the basis of its systems. For the combat I want to reduce the RNG as much as possible, and so far I haven't found a proper solution for the turn's order.
— I want to take away “the variation” part in the turn's calculation. I thought to use a borrowed script to add a plugin that erases that part, but I'm unable to make it work (the turns still mix up). Here I leave the script:
[ISPOILER]
Game_Action.prototype.speed = function() {
var agi = this.subject().agi;
var speed = agi+ Math.randomInt(Math.floor(5 + agi / 4));
if (this.item()) {
speed += this.item().speed;
}
if (this.isAttack()) {
speed += this.subject().attackSpeed();
}
return speed;
};[/ISPOILER]
The crossed text is what I deleted, then saved it as a .js, added it to the plugins' folder, and enabled it in the plugin window.
I don't know if it is even possible to make it work this way, I'm not a programmer or anything like that, but I got other plugins working similarly, and I thought this could work. Maybe the script itself is flaw or the way I implemented is not the correct one.
That's why I'm here searching for your never-ending wisdom.
I'm currently working on my own RPG, and I'm establishing the basis of its systems. For the combat I want to reduce the RNG as much as possible, and so far I haven't found a proper solution for the turn's order.
— I want to take away “the variation” part in the turn's calculation. I thought to use a borrowed script to add a plugin that erases that part, but I'm unable to make it work (the turns still mix up). Here I leave the script:
[ISPOILER]
Game_Action.prototype.speed = function() {
var agi = this.subject().agi;
var speed = agi
if (this.item()) {
speed += this.item().speed;
}
if (this.isAttack()) {
speed += this.subject().attackSpeed();
}
return speed;
};[/ISPOILER]
The crossed text is what I deleted, then saved it as a .js, added it to the plugins' folder, and enabled it in the plugin window.
I don't know if it is even possible to make it work this way, I'm not a programmer or anything like that, but I got other plugins working similarly, and I thought this could work. Maybe the script itself is flaw or the way I implemented is not the correct one.
That's why I'm here searching for your never-ending wisdom.