mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Added Gen 8's shiny chance increase with number battled, fixed other shiny chance-boosting effects not working
This commit is contained in:
@@ -338,7 +338,7 @@ class Pokemon
|
||||
else @gender = 2
|
||||
end
|
||||
else
|
||||
female_chance = GameData::GenderRatio.get(gender_ratio).female_chance
|
||||
female_chance = GameData::GenderRatio.get(species_data.gender_ratio).female_chance
|
||||
@gender = ((@personalID & 0xFF) < female_chance) ? 1 : 0
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user