[Hotfix] Swap force switch out check from `isBoss` to `wave % 10` (#4484)

This commit is contained in:
NightKev 2024-09-27 19:51:32 -07:00 committed by GitHub
parent 2b3dbcc72f
commit 3def9fc15d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -5250,7 +5250,7 @@ export class ForceSwitchOutAttr extends MoveEffectAttr {
false, false), MoveEndPhase); false, false), MoveEndPhase);
} }
} else { } else {
if (switchOutTarget.isBoss()) { if (user.scene.currentBattle.waveIndex % 10 === 0) {
return false; return false;
} }
// Switch out logic for everything else (eg: WILD battles) // Switch out logic for everything else (eg: WILD battles)