Critical hits and evasion in turn-based battles (Solved)

I have global variable that can be modified through stat points to affect hit and evasion chances.

I need help creating events that do different actions based on whether the global variable is greater or less than a randomly generated number. How I have it now does not work, both chain of events rely on two different RandomInRange functions which can cause it so that neither happen.

Thanks, if that doesn’t make sense. Basically I’m trying to implement a crit and evasion chance based on percentage in turn based battles.

Set a variable to a random value, and check if that is either less than, or greater or equal to, the global variable:

1 Like

Omfg I love y-
Too soon, too soon. Thank you for the help.