addIf now need an identifier symbol, fixed clas between using Future Sight and being locked into a move, fixed IV inheritance

This commit is contained in:
Maruno17
2022-10-16 22:53:41 +01:00
parent 9ad45d6b07
commit 9eb90b784e
6 changed files with 32 additions and 40 deletions

View File

@@ -173,7 +173,7 @@ class DayCare
def inherit_IVs(egg, mother, father)
# Get all stats
stats = []
GameData::Stat.each_main { |s| stats.push(s) }
GameData::Stat.each_main { |s| stats.push(s.id) }
# Get the number of stats to inherit
inherit_count = 3
if Settings::MECHANICS_GENERATION >= 6