Skip to content

Commit

Permalink
Fix zebra type selection
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Jan 5, 2024
1 parent 0ec23e4 commit 29221a2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2141,9 +2141,9 @@ public void selectType() {
if (getType() == 0) {
if (this.rand.nextInt(5) == 0) setAdult(false);
int j = this.rand.nextInt(100);
if (j <= (33)) setType(6);
else if (j <= (66)) setType(7);
else if (j <= (99)) setType(8);
if (j <= (32)) setType(6);
else if (j <= (65)) setType(7);
else if (j <= (98)) setType(8);
else setType(60);// zebra
}
}
Expand Down

0 comments on commit 29221a2

Please sign in to comment.