tl;dr : luk, supposed to affect state efficiency, doesn't *actually* do it
Hi rpg maker people of the forum,
The hardest part is to hope I didn't duplicate a thread that already exists about this '^' but I didn't find any, and I'm surprised because this is noticeable
So the LUK stat is supposed to increase/reduce the chance rate of applying or not status effects ; someone with a high luck is more likely to affect a target with a status like poison, berserk, etc
But, well, from what I tested, LUK doesn't work :S This is the formula used for luck, straight taken from the rpg_objects.js file from the source code
This means, as an example ; say your skill adds a Poison status with an initial 100% chance. Can't miss, in short.
The user (this.subject()) has, lets say 1 LUK and its target has 999 LUK. Just so we notice greatly the difference
Math.max(1.0 + (1 - 999) * 0.001, 0.0) ==> Math.max (1.0 - 0.998, 0.0) ==> > Math.max(0.02, 0.0) ==> it returns 0.02.
That means your initial Poison value that is 1.0 (100%) will drop down to 2%. A.k.a will only land the status every full moon.
But well, it somewhat still hit often ^^ at the same initial rate (100%) I'd say? and thats why I say LUK is bugged.
You can try this in a fresh new project, a new game. No plugin, nothing.
I can't add screenshots, they're not really a proof '^'
But here's something else, if you edit the formula in the code :
Unless I'm missing something? that would be a bug imo
Hi rpg maker people of the forum,
The hardest part is to hope I didn't duplicate a thread that already exists about this '^' but I didn't find any, and I'm surprised because this is noticeable
So the LUK stat is supposed to increase/reduce the chance rate of applying or not status effects ; someone with a high luck is more likely to affect a target with a status like poison, berserk, etc
But, well, from what I tested, LUK doesn't work :S This is the formula used for luck, straight taken from the rpg_objects.js file from the source code
This means, as an example ; say your skill adds a Poison status with an initial 100% chance. Can't miss, in short.
The user (this.subject()) has, lets say 1 LUK and its target has 999 LUK. Just so we notice greatly the difference
Math.max(1.0 + (1 - 999) * 0.001, 0.0) ==> Math.max (1.0 - 0.998, 0.0) ==> > Math.max(0.02, 0.0) ==> it returns 0.02.
That means your initial Poison value that is 1.0 (100%) will drop down to 2%. A.k.a will only land the status every full moon.
But well, it somewhat still hit often ^^ at the same initial rate (100%) I'd say? and thats why I say LUK is bugged.
You can try this in a fresh new project, a new game. No plugin, nothing.
I can't add screenshots, they're not really a proof '^'
But here's something else, if you edit the formula in the code :
into something simple :
the above means multiply the initial status chance by 0. So basically all the status will miss. Well, this is ignored and you can still actually successfully land your status
Unless I'm missing something? that would be a bug imo