Hey, new face around here after lurking around for some questions, figured this is best to ask unless there's some old forum I can look to.
I've been dabbling in messing with the game's code with not only plugins, but even the core js's, such as 'rpg_objects.js' in this case. I had went and changed Parameters, Sp_Parameters, and the other multiplicative/traitsPi to additive/traitsSum formulas like Ex_Parameters is and I've encountered and issue:
When wanting to apply a penalty on former multiplicative parameters, which were based on a percentage of 0-1000%, I cannot go below 0% and I'm seeking if I could alter the base game's code further to make it like Ex-Parameter's additive acceptable range of percentages, that being -1000% to +1000%. I've attempted a CRTL+F across the file (objects.js) to find anything akin to the enterable percentages, but either I'm in the wrong file, too tired or too worn out at the moment to see the solution.
I've been dabbling in messing with the game's code with not only plugins, but even the core js's, such as 'rpg_objects.js' in this case. I had went and changed Parameters, Sp_Parameters, and the other multiplicative/traitsPi to additive/traitsSum formulas like Ex_Parameters is and I've encountered and issue:
When wanting to apply a penalty on former multiplicative parameters, which were based on a percentage of 0-1000%, I cannot go below 0% and I'm seeking if I could alter the base game's code further to make it like Ex-Parameter's additive acceptable range of percentages, that being -1000% to +1000%. I've attempted a CRTL+F across the file (objects.js) to find anything akin to the enterable percentages, but either I'm in the wrong file, too tired or too worn out at the moment to see the solution.