10.11.2011, 19:18
The random get a random number between 1 (i'm not sure if is 1 or 0...probably 1) and the number that you put... so when you use random(4) the chances to return 1 is 25% that way you know that he failed if the number is different from 1 (the 1 can be any number between 1 and 4)
idk if you understood...sorry my bad english :/
idk if you understood...sorry my bad english :/