mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 08:19:33 +02:00
Thank you eslint for only telling me there's an issue AFTER I commit
This commit is contained in:
parent
af228e43df
commit
2f335ba831
@ -41,11 +41,11 @@ describe("Moves - Scale Shot", () => {
|
|||||||
it("applies stat changes after last hit", async () => {
|
it("applies stat changes after last hit", async () => {
|
||||||
game.override.enemySpecies(Species.FORRETRESS);
|
game.override.enemySpecies(Species.FORRETRESS);
|
||||||
|
|
||||||
await game.classicMode.startBattle([Species.MINCCINO]);
|
await game.classicMode.startBattle([ Species.MINCCINO ]);
|
||||||
const minccino = game.scene.getPlayerPokemon()!;
|
const minccino = game.scene.getPlayerPokemon()!;
|
||||||
game.move.select(Moves.SCALE_SHOT);
|
game.move.select(Moves.SCALE_SHOT);
|
||||||
|
|
||||||
await game.setTurnOrder([BattlerIndex.PLAYER, BattlerIndex.ENEMY]);
|
await game.setTurnOrder([ BattlerIndex.PLAYER, BattlerIndex.ENEMY ]);
|
||||||
|
|
||||||
await game.phaseInterceptor.to(MoveEffectPhase);
|
await game.phaseInterceptor.to(MoveEffectPhase);
|
||||||
await game.phaseInterceptor.to(DamagePhase);
|
await game.phaseInterceptor.to(DamagePhase);
|
||||||
@ -69,7 +69,7 @@ describe("Moves - Scale Shot", () => {
|
|||||||
|
|
||||||
vi.spyOn(moveToCheck, "calculateBattlePower");
|
vi.spyOn(moveToCheck, "calculateBattlePower");
|
||||||
|
|
||||||
await game.classicMode.startBattle([Species.MINCCINO]);
|
await game.classicMode.startBattle([ Species.MINCCINO ]);
|
||||||
const minccino = game.scene.getPlayerPokemon()!;
|
const minccino = game.scene.getPlayerPokemon()!;
|
||||||
|
|
||||||
game.move.select(Moves.SCALE_SHOT);
|
game.move.select(Moves.SCALE_SHOT);
|
||||||
|
Loading…
Reference in New Issue
Block a user