mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 14:52:19 +02:00
Update test
This commit is contained in:
parent
5c473d28f9
commit
8d7bc2a4f6
@ -64,4 +64,15 @@ describe("Test Ability Swapping", () => {
|
||||
|
||||
expect(game.scene.getPlayerPokemon()?.getStatStage(Stat.ATK)).toBe(1); // would be 2 if passive activated again
|
||||
});
|
||||
|
||||
// Pickup and Honey Gather are special cases as they're the only abilities to be Unsuppressable but not Unswappable
|
||||
it("should be able to swap pickup", async () => {
|
||||
game.override.ability(Abilities.PICKUP).enemyAbility(Abilities.INTIMIDATE).moveset(Moves.ROLE_PLAY);
|
||||
await game.classicMode.startBattle([Species.FEEBAS]);
|
||||
|
||||
game.move.select(Moves.ROLE_PLAY);
|
||||
await game.phaseInterceptor.to("BerryPhase");
|
||||
|
||||
expect(game.scene.getEnemyPokemon()?.getStatStage(Stat.ATK)).toBe(-1);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user