- Joined
- Apr 3, 2019
- Messages
- 26
- Reaction score
- 7
- First Language
- English
- Primarily Uses
- RMMV
Hi all,
I have a curiosity I wonder if someone can divine for me:
In RPG Maker MV, I have an event with a conditional set up using 2 variables.
In separate event I define Var 0001 = 20
Then I have Var 0002 = a random integer 0 - 100.
The conditional is set up so that if Var 0001 > Var 0002, the event fails.
I noticed the event was succeeding a lot more often than 20% of the time, so I tested the event with Var 0001 set as 1, and then again set as 99. (Var 0002 remains random).
It seems that when I had Var 0001 = 1, I had a 99% chance of success, and at 99 I had a 1% chance.
It's not a problem, because I just reversed the sign to get the probability I want, I'm just really curious why "If 20 > Random(0-100)" gives me an 80% chance rather than 20%.
I have a curiosity I wonder if someone can divine for me:
In RPG Maker MV, I have an event with a conditional set up using 2 variables.
In separate event I define Var 0001 = 20
Then I have Var 0002 = a random integer 0 - 100.
The conditional is set up so that if Var 0001 > Var 0002, the event fails.
I noticed the event was succeeding a lot more often than 20% of the time, so I tested the event with Var 0001 set as 1, and then again set as 99. (Var 0002 remains random).
It seems that when I had Var 0001 = 1, I had a 99% chance of success, and at 99 I had a 1% chance.
It's not a problem, because I just reversed the sign to get the probability I want, I'm just really curious why "If 20 > Random(0-100)" gives me an 80% chance rather than 20%.


