mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-11-10 21:31:22 +01:00
[Hotfix] Swap force switch out check from isBoss to wave % 10 (#4484)
This commit is contained in:
parent
2b3dbcc72f
commit
3def9fc15d
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user