mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-19 07:20:57 +00: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…
x
Reference in New Issue
Block a user