Bug fixes for Illusion with 1 Pokémon in team, Magician triggering and Fake Out failing after switching in by an effect

This commit is contained in:
Maruno17
2021-02-08 18:36:02 +00:00
parent f3f21d4679
commit 9fe513ca16
6 changed files with 10 additions and 8 deletions

View File

@@ -3064,7 +3064,7 @@ class PokeBattle_AI
when "173"
#---------------------------------------------------------------------------
when "174"
score -= 90 if user.turnCount>0 || user.lastRoundMoved>=0
score -= 90 if user.turnCount > 0
#---------------------------------------------------------------------------
when "175"
score += 30 if target.effects[PBEffects::Minimize]