[Test] Fix Power Spot test so Stonjourner always moves second (#3357)
This commit is contained in:
parent
a301507f80
commit
68d3d27d47
|
@ -40,7 +40,7 @@ describe("Abilities - Power Spot", () => {
|
||||||
|
|
||||||
vi.spyOn(moveToCheck, "calculateBattlePower");
|
vi.spyOn(moveToCheck, "calculateBattlePower");
|
||||||
|
|
||||||
await game.startBattle([Species.PIKACHU, Species.STONJOURNER]);
|
await game.startBattle([Species.REGIELEKI, Species.STONJOURNER]);
|
||||||
game.doAttack(getMovePosition(game.scene, 0, Moves.DAZZLING_GLEAM));
|
game.doAttack(getMovePosition(game.scene, 0, Moves.DAZZLING_GLEAM));
|
||||||
game.doAttack(getMovePosition(game.scene, 1, Moves.SPLASH));
|
game.doAttack(getMovePosition(game.scene, 1, Moves.SPLASH));
|
||||||
await game.phaseInterceptor.to(MoveEffectPhase);
|
await game.phaseInterceptor.to(MoveEffectPhase);
|
||||||
|
@ -54,7 +54,7 @@ describe("Abilities - Power Spot", () => {
|
||||||
|
|
||||||
vi.spyOn(moveToCheck, "calculateBattlePower");
|
vi.spyOn(moveToCheck, "calculateBattlePower");
|
||||||
|
|
||||||
await game.startBattle([Species.PIKACHU, Species.STONJOURNER]);
|
await game.startBattle([Species.REGIELEKI, Species.STONJOURNER]);
|
||||||
game.doAttack(getMovePosition(game.scene, 0, Moves.BREAKING_SWIPE));
|
game.doAttack(getMovePosition(game.scene, 0, Moves.BREAKING_SWIPE));
|
||||||
game.doAttack(getMovePosition(game.scene, 1, Moves.SPLASH));
|
game.doAttack(getMovePosition(game.scene, 1, Moves.SPLASH));
|
||||||
await game.phaseInterceptor.to(MoveEffectPhase);
|
await game.phaseInterceptor.to(MoveEffectPhase);
|
||||||
|
@ -68,7 +68,7 @@ describe("Abilities - Power Spot", () => {
|
||||||
|
|
||||||
vi.spyOn(moveToCheck, "calculateBattlePower");
|
vi.spyOn(moveToCheck, "calculateBattlePower");
|
||||||
|
|
||||||
await game.startBattle([Species.STONJOURNER, Species.PIKACHU]);
|
await game.startBattle([Species.STONJOURNER, Species.REGIELEKI]);
|
||||||
game.doAttack(getMovePosition(game.scene, 0, Moves.BREAKING_SWIPE));
|
game.doAttack(getMovePosition(game.scene, 0, Moves.BREAKING_SWIPE));
|
||||||
game.doAttack(getMovePosition(game.scene, 1, Moves.SPLASH));
|
game.doAttack(getMovePosition(game.scene, 1, Moves.SPLASH));
|
||||||
await game.phaseInterceptor.to(TurnEndPhase);
|
await game.phaseInterceptor.to(TurnEndPhase);
|
||||||
|
|
Loading…
Reference in New Issue