Hey all. I'm trying to make luck in my game the primary way to increase status effect chance on your abilities, but I'm not sure exactly what the formula "Math.max(1.0 + (user.luk - target.luk) * 0.001, 0.0)" is doing.
I know that it means every 100 points of difference between your luck and their luck adds a 1% status effect chance, but that's where I'm confused. If I change that formula to "Math.max(1.0 + (user.luk - target.luk) * 0.1, 0.0)," does that mean every point of luck over my opponents adds a 1% chance to my base status effect chance?
One more question. If I have 10 more luck than my opponent with the above formula, would that be a flat 10% increase to all status effect chances inflicted on them or would it multiply my status effect chance by 1.10? (if its a base 50% status effect move, would it be 50% + flat 10%, or 50% x 1.10 for 55%?) Luck is extremely important in my game so I need to get it right.
Thanks for reading.
I know that it means every 100 points of difference between your luck and their luck adds a 1% status effect chance, but that's where I'm confused. If I change that formula to "Math.max(1.0 + (user.luk - target.luk) * 0.1, 0.0)," does that mean every point of luck over my opponents adds a 1% chance to my base status effect chance?
One more question. If I have 10 more luck than my opponent with the above formula, would that be a flat 10% increase to all status effect chances inflicted on them or would it multiply my status effect chance by 1.10? (if its a base 50% status effect move, would it be 50% + flat 10%, or 50% x 1.10 for 55%?) Luck is extremely important in my game so I need to get it right.
Thanks for reading.