mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Fixed typo relating to AI switching, fixed Pokémon sent from the party to storage in battle not resetting their battle-only conditions, fixed player's sprite in Duel minigame not caring about the player's outfit, added missing move flags
This commit is contained in:
@@ -342,7 +342,7 @@ class Battle::AI
|
||||
if @trainer.high_skill? && @user.can_switch_lax?
|
||||
badMoves = false
|
||||
if max_score <= MOVE_USELESS_SCORE
|
||||
badMoves = user_battler.can_attack?
|
||||
badMoves = user.can_attack?
|
||||
badMoves = true if !badMoves && pbAIRandom(100) < 25
|
||||
elsif max_score < MOVE_BASE_SCORE * move_score_threshold && user_battler.turnCount > 2
|
||||
badMoves = true if pbAIRandom(100) < 80
|
||||
|
||||
Reference in New Issue
Block a user