mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-01 14:02:18 +02:00
Ensure priority abilities are still activated on switch in
This commit is contained in:
parent
4ee5e6c9a0
commit
877f330cbb
@ -45,6 +45,10 @@ export class PostSummonPhase extends PokemonPhase {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!this.ordered) {
|
||||||
|
applyPriorityBasedAbAttrs(pokemon, true);
|
||||||
|
}
|
||||||
|
|
||||||
if (pokemon.status?.effect === StatusEffect.TOXIC) {
|
if (pokemon.status?.effect === StatusEffect.TOXIC) {
|
||||||
pokemon.status.toxicTurnCount = 0;
|
pokemon.status.toxicTurnCount = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user