mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 22:54:59 +00:00
Fixed typo from previous commit
This commit is contained in:
@@ -80,7 +80,7 @@ class DayCare
|
|||||||
move_mother = (father[1]) ? father[0] : mother[0]
|
move_mother = (father[1]) ? father[0] : mother[0]
|
||||||
moves = []
|
moves = []
|
||||||
# Get level-up moves known by both parents
|
# Get level-up moves known by both parents
|
||||||
egg.getMoveList. each do |move|
|
egg.getMoveList.each do |move|
|
||||||
next if move[0] <= egg.level # Could already know this move by default
|
next if move[0] <= egg.level # Could already know this move by default
|
||||||
next if !mother[0].hasMove?(move[1]) || !father[0].hasMove?(move[1])
|
next if !mother[0].hasMove?(move[1]) || !father[0].hasMove?(move[1])
|
||||||
moves.push(move[1])
|
moves.push(move[1])
|
||||||
@@ -102,7 +102,7 @@ class DayCare
|
|||||||
end
|
end
|
||||||
if Settings::BREEDING_CAN_INHERIT_EGG_MOVES_FROM_MOTHER && move_mother.female?
|
if Settings::BREEDING_CAN_INHERIT_EGG_MOVES_FROM_MOTHER && move_mother.female?
|
||||||
egg.species_data.egg_moves.each do |move|
|
egg.species_data.egg_moves.each do |move|
|
||||||
moves.push(move) if move_mother.hasMove?(move))
|
moves.push(move) if move_mother.hasMove?(move)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
# Learn Volt Tackle if a parent has a Light Ball and is in the Pichu family
|
# Learn Volt Tackle if a parent has a Light Ball and is in the Pichu family
|
||||||
|
|||||||
Reference in New Issue
Block a user