mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Improved AI code for weather-causing moves, added AI getting flags from trainer types, added Legendary/Mythical flags to pokemon.txt, added Setting to make wild Legendary/Mythical Pokémon smarter
This commit is contained in:
@@ -20,7 +20,7 @@ class Trainer
|
||||
end
|
||||
|
||||
def skill_level
|
||||
return GameData::TrainerType.try_get(:trainer_type)&.skill_level || 0
|
||||
return GameData::TrainerType.try_get(self.trainer_type)&.skill_level || 0
|
||||
end
|
||||
|
||||
#=============================================================================
|
||||
|
||||
Reference in New Issue
Block a user