Fixed booleanWithChance(), thanks to @lynus