mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Adds factory for Pokemon class
This commit is contained in:
@@ -186,7 +186,7 @@ def pbDayCareGenerateEgg
|
||||
end
|
||||
end
|
||||
# Generate egg
|
||||
egg = Pokemon.new(babyspecies, Settings::EGG_LEVEL)
|
||||
egg = Pokemon.create(babyspecies, Settings::EGG_LEVEL)
|
||||
# Randomise personal ID
|
||||
pid = rand(65536)
|
||||
pid |= (rand(65536)<<16)
|
||||
|
||||
Reference in New Issue
Block a user