Fix ceaseless edge test for real this time

This commit is contained in:
innerthunder 2024-11-10 00:56:17 -08:00
parent d0b6f3299c
commit 963dfafdfb
2 changed files with 3 additions and 3 deletions

View File

@ -92,7 +92,7 @@ describe("Moves - Ceaseless Edge", () => {
"trainer - move should hit twice, apply two layers of spikes, force switch opponent - opponent takes damage",
async () => {
game.override.startingHeldItems([{ name: "MULTI_LENS" }]);
game.override.startingWave(5);
game.override.startingWave(25);
await game.classicMode.startBattle([ Species.ILLUMISE ]);
@ -102,7 +102,7 @@ describe("Moves - Ceaseless Edge", () => {
const tagBefore = game.scene.arena.getTagOnSide(ArenaTagType.SPIKES, ArenaTagSide.ENEMY) as ArenaTrapTag;
expect(tagBefore instanceof ArenaTrapTag).toBeFalsy();
await game.phaseInterceptor.to(TurnEndPhase, false);
await game.toNextTurn();
const tagAfter = game.scene.arena.getTagOnSide(ArenaTagType.SPIKES, ArenaTagSide.ENEMY) as ArenaTrapTag;
expect(tagAfter instanceof ArenaTrapTag).toBeTruthy();
expect(tagAfter.layers).toBe(2);

View File

@ -320,7 +320,7 @@ export default class GameManager {
const originalMatchupScore = Trainer.prototype.getPartyMemberMatchupScores;
Trainer.prototype.getPartyMemberMatchupScores = () => {
Trainer.prototype.getPartyMemberMatchupScores = originalMatchupScore;
return [[ 1, 1000 ], [ 1, 1000 ]];
return [[ 1, 100 ], [ 1, 100 ]];
};
}