Increase chance of bad eggs
This commit is contained in:
parent
9c4ee1a350
commit
1464d074bf
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ impl Drawing for EggDrawing {
|
||||||
let mut rng = rand::thread_rng();
|
let mut rng = rand::thread_rng();
|
||||||
|
|
||||||
// Choose which set of egg images to use
|
// Choose which set of egg images to use
|
||||||
let bad_egg = rng.gen_range(0..16) == 0;
|
let bad_egg = rng.gen_range(0..8) == 0;
|
||||||
let (covers, patterns) = if bad_egg {
|
let (covers, patterns) = if bad_egg {
|
||||||
(EGG_BAD_COVERS, EGG_BAD_PATTERNS)
|
(EGG_BAD_COVERS, EGG_BAD_PATTERNS)
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue