Using YEP_BaseParamControl, I just want to make sure I have everything straight with the LUK effect forumula.
Intended behavior:
LUK is a defensive stat only, and won't be checked on enemies (player abilities that apply states will always have a 100% success rate so it's moot). 100 LUK confers a 75% resistance to states being applied to the actor. The player starts with 100 LUK and will essentially have opportunities to "trade" that LUK for damage-dealing abilities. I've got the other parts worked out but
My current formula:
100 - (target.luk * .75)
The original formula uses Math.max, but I removed it because I didn't think it was needed.
Using an enemy with a skill that has AddState at 50% and actors with 100 and with 50 LUK, I don't see any impact on state rate. The actors seem to be affected by the state about 50% of the time.
When I use
Math.max(100 - (target.luk * .75))
it seems that the state is added about 75% of the time, regardless of the target's LUK.
I'm stuck, a bit overwhelmed with the number of things to try to make this work, so it seems like the right time to post a thread.
Intended behavior:
LUK is a defensive stat only, and won't be checked on enemies (player abilities that apply states will always have a 100% success rate so it's moot). 100 LUK confers a 75% resistance to states being applied to the actor. The player starts with 100 LUK and will essentially have opportunities to "trade" that LUK for damage-dealing abilities. I've got the other parts worked out but
My current formula:
100 - (target.luk * .75)
The original formula uses Math.max, but I removed it because I didn't think it was needed.
Using an enemy with a skill that has AddState at 50% and actors with 100 and with 50 LUK, I don't see any impact on state rate. The actors seem to be affected by the state about 50% of the time.
When I use
Math.max(100 - (target.luk * .75))
it seems that the state is added about 75% of the time, regardless of the target's LUK.
I'm stuck, a bit overwhelmed with the number of things to try to make this work, so it seems like the right time to post a thread.