Hello.
In my game, I have eliminated luck's effect on states and have reworked it to be just a battle stat, like Atk, Def, Mat, and Mdf. However, Agility is sitting in between them. While this isn't mechanically bad, it makes my system less intuitive. I was hoping to switch all the turn order and encounter rate functionality over to the luck stat and simply swap their names.
I think this can only be solved with script. Can anybody help me with this?
can't you just rename them in the TERMS tab?
No. I believe that would make my Luck affect turn order and encounter rates, and agility would then be a useless stat that is tied to nothing.
To reiterate, I want to move Agility and all of it's functions to the slot that luck uses by default, leaving agility's previously held slot free of connections.
It depends on what exactly you want as the turn order, because Agility is only half of the answer as to what determines the turn order.
The skill user's agility and the skill's speed are added together (plus some random number) before determing the turn order based on that sum.
So yes, you'll need a script to change functionality, and that script will have to make several changes to transfer the functions to luck.
Alternatively, you might simply switch the display on the status screen - that will also require a script, but only a small modification if agility retains its internal functions.
The alternative you suggested sounds much easier, but I'm afraid it might require more scripting if I was to combine it with other scripts I might use. For instance, I would have to patch Yanfly's Enemy Target Info script, as well as others I might need. It requires more work, but the fundamental shift from Agi to Luck will be more bug free in the long run.
Thank you for your input though. I know it's distasteful for a member's first post to be a request.
It would be a great help if someone could tell me how to do it myself. I don't know much Ruby, but I might be able to figure something out.
I've found this :
def speed speed = subject.agi + rand(5 + subject.agi / 4) speed += item.speed if item speed += subject.atk_speed if attack? speed endCan I simply edit this code to reference luck and include it under Materials?
Bump. Last bump until I try to ask again in the future.