fix failing belly drum test (#3768)
This commit is contained in:
parent
bbbb6d6f79
commit
2d0a4326b6
|
@ -6,6 +6,8 @@ import { Species } from "#enums/species";
|
|||
import GameManager from "#test/utils/gameManager";
|
||||
import Phaser from "phaser";
|
||||
import { afterEach, beforeAll, beforeEach, describe, expect, test } from "vitest";
|
||||
import { SPLASH_ONLY } from "../utils/testUtils";
|
||||
import { Abilities } from "#app/enums/abilities";
|
||||
|
||||
const TIMEOUT = 20 * 1000;
|
||||
// RATIO : HP Cost of Move
|
||||
|
@ -29,12 +31,14 @@ describe("Moves - BELLY DRUM", () => {
|
|||
|
||||
beforeEach(() => {
|
||||
game = new GameManager(phaserGame);
|
||||
game.override.starterSpecies(Species.MAGIKARP);
|
||||
game.override.enemySpecies(Species.SNORLAX);
|
||||
game.override.startingLevel(100);
|
||||
game.override.enemyLevel(100);
|
||||
game.override.moveset([Moves.BELLY_DRUM]);
|
||||
game.override.enemyMoveset([Moves.SPLASH]);
|
||||
game.override
|
||||
.starterSpecies(Species.MAGIKARP)
|
||||
.enemySpecies(Species.SNORLAX)
|
||||
.startingLevel(100)
|
||||
.enemyLevel(100)
|
||||
.moveset([Moves.BELLY_DRUM])
|
||||
.enemyMoveset(SPLASH_ONLY)
|
||||
.enemyAbility(Abilities.BALL_FETCH);
|
||||
});
|
||||
|
||||
// Bulbapedia Reference: https://bulbapedia.bulbagarden.net/wiki/Belly_Drum_(move)
|
||||
|
|
Loading…
Reference in New Issue