Crit Chance на Java

int percentage = ((int)(Math.random() * 100));
Exuberant Eagle