Quick LUK formula question

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.
I don't use that particular addon. But you might could create an event that runs at turn end or a common event attached to the skill that applies the state (or doesn't apply the state) based on the actor's luck.

For example:

If A.1's Luk = 100
Temp.Var0 = 1 ? 3
If Temp.Var0 = 3
Add State

If A.1's Luk = 50
Temp.Var0 = 1 ? 2
If Temp.0 = 2
Add State
I would prefer to get the formula to work, I don't want to have too many common events running at the same time -- there's a lot of them in my game already.

Original thread: https://forums.rpgmakerweb.com/threads/quick-luk-formula-question.146823/