i'm silly

This commit is contained in:
frutescens 2024-10-13 22:40:19 -07:00
parent 433aaa5352
commit bd98846bae

View File

@ -38,16 +38,16 @@ describe("Moves - Secret Power", () => {
}); });
it("Secret Power checks for an active terrain first then looks at the biome for its secondary effect", async () => { it("Secret Power checks for an active terrain first then looks at the biome for its secondary effect", async () => {
game.override.startingBiome(Biome.METROPOLIS); game.override.startingBiome(Biome.VOLCANO);
await game.classicMode.startBattle([ Species.FEEBAS ]); await game.classicMode.startBattle([ Species.FEEBAS ]);
const enemyPokemon = game.scene.getEnemyPokemon()!; const enemyPokemon = game.scene.getEnemyPokemon()!;
// No Terrain + Biome.METROPOLIS --> Paralysis // No Terrain + Biome.VOLCANO --> Burn
game.move.select(Moves.SECRET_POWER); game.move.select(Moves.SECRET_POWER);
await game.forceEnemyMove(Moves.SPLASH); await game.forceEnemyMove(Moves.SPLASH);
await game.phaseInterceptor.to("TurnEndPhase"); await game.phaseInterceptor.to("TurnEndPhase");
expect(enemyPokemon.status?.effect).toBe(StatusEffect.PARALYSIS); expect(enemyPokemon.status?.effect).toBe(StatusEffect.BURN);
// Misty Terrain --> SpAtk -1 // Misty Terrain --> SpAtk -1
game.move.select(Moves.SECRET_POWER); game.move.select(Moves.SECRET_POWER);