fix overrides

This commit is contained in:
innerthunder 2024-11-06 15:50:18 -08:00
parent 756aeb2897
commit 3d94c02d97

View File

@ -25,12 +25,15 @@ describe("Moves - Encore", () => {
beforeEach(() => {
game = new GameManager(phaserGame);
game.override
.moveset([ Moves.SPLASH, Moves.ENCORE ])
.ability(Abilities.BALL_FETCH)
.battleType("single")
.disableCrits()
.enemySpecies(Species.MAGIKARP)
.enemyAbility(Abilities.BALL_FETCH)
.enemyMoveset(Moves.SPLASH);
.enemyMoveset([ Moves.SPLASH, Moves.TACKLE ])
.startingLevel(100)
.enemyLevel(100);
});
it("should prevent the target from using any move except the last used move", async () => {