Swap switch out check from isBoss to wave % 10

This commit is contained in:
NightKev 2024-09-27 19:42:46 -07:00
parent 2b3dbcc72f
commit bfe0181cc9

View File

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