mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 06:53:27 +02:00
[Bug] Wild Pokemon can now generate as female again (#6352)
This commit is contained in:
parent
c027b5562b
commit
961d30f75e
@ -795,7 +795,7 @@ export class PokemonSpecies extends PokemonSpeciesForm implements Localizable {
|
||||
return Gender.GENDERLESS;
|
||||
}
|
||||
|
||||
if (randSeedFloat() <= this.malePercent) {
|
||||
if (randSeedFloat() * 100 <= this.malePercent) {
|
||||
return Gender.MALE;
|
||||
}
|
||||
return Gender.FEMALE;
|
||||
|
Loading…
Reference in New Issue
Block a user