mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 22:39:31 +02:00
fix overrides
This commit is contained in:
parent
756aeb2897
commit
3d94c02d97
@ -25,12 +25,15 @@ describe("Moves - Encore", () => {
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
game = new GameManager(phaserGame);
|
game = new GameManager(phaserGame);
|
||||||
game.override
|
game.override
|
||||||
|
.moveset([ Moves.SPLASH, Moves.ENCORE ])
|
||||||
.ability(Abilities.BALL_FETCH)
|
.ability(Abilities.BALL_FETCH)
|
||||||
.battleType("single")
|
.battleType("single")
|
||||||
.disableCrits()
|
.disableCrits()
|
||||||
.enemySpecies(Species.MAGIKARP)
|
.enemySpecies(Species.MAGIKARP)
|
||||||
.enemyAbility(Abilities.BALL_FETCH)
|
.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 () => {
|
it("should prevent the target from using any move except the last used move", async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user