mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Made wild Ultra Beasts smarter too
This commit is contained in:
@@ -39,7 +39,9 @@ class Battle::AI::AITrainer
|
|||||||
# Give wild legendary/mythical Pokémon a higher skill
|
# Give wild legendary/mythical Pokémon a higher skill
|
||||||
wild_battler = @ai.battle.battlers[@side]
|
wild_battler = @ai.battle.battlers[@side]
|
||||||
sp_data = wild_battler.pokemon.species_data
|
sp_data = wild_battler.pokemon.species_data
|
||||||
if sp_data.has_flag?("Legendary") || sp_data.has_flag?("Mythical")
|
if sp_data.has_flag?("Legendary") ||
|
||||||
|
sp_data.has_flag?("Mythical") ||
|
||||||
|
sp_data.has_flag?("UltraBeast")
|
||||||
@skill = 32 # Medium skill
|
@skill = 32 # Medium skill
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user