mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 03:02:24 +02:00
Update good as gold tests with Kev's feedback
This commit is contained in:
parent
9a93fdba15
commit
8c16cccfa3
@ -50,10 +50,16 @@ describe("Abilities - Good As Gold", () => {
|
||||
await game.phaseInterceptor.to("BerryPhase");
|
||||
|
||||
expect(player.battleData.abilitiesApplied[0]).toBe(Abilities.GOOD_AS_GOLD);
|
||||
expect(player.getStatStage(Stat.ATK)).toBe(0);
|
||||
});
|
||||
|
||||
it("should block memento and prevent the user from fainting", async () => {
|
||||
game.override.enemyMoveset( [ Moves.MEMENTO ] );
|
||||
await game.classicMode.startBattle([ Species.MAGIKARP ]);
|
||||
game.move.select(Moves.MEMENTO);
|
||||
await game.phaseInterceptor.to("BerryPhase");
|
||||
expect(game.scene.getPlayerPokemon()!.isFainted()).toBe(false);
|
||||
expect(game.scene.getEnemyPokemon()?.getStatStage(Stat.ATK)).toBe(0);
|
||||
});
|
||||
|
||||
it("should not block any status moves that target the field, one side, or all pokemon", async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user