mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Compare commits
No commits in common. "2ed76e92cf1ce5887196e3bce47799ee1253581f" and "085c4af17d2fc651a2357ca7b2155bafac5c2a64" have entirely different histories.
2ed76e92cf
...
085c4af17d
@ -6,7 +6,7 @@ import { GameMode } from "./game-mode";
|
||||
import { MoneyMultiplierModifier, PokemonHeldItemModifier } from "./modifier/modifier";
|
||||
import { PokeballType } from "./data/pokeball";
|
||||
import {trainerConfigs} from "#app/data/trainer-config";
|
||||
import Pokemon, { EnemyPokemon, PlayerPokemon, QueuedMove } from "#app/field/pokemon";
|
||||
import Pokemon, { EnemyPokemon, PlayerPokemon, QueuedMove } from "field/pokemon";
|
||||
import { ArenaTagType } from "#enums/arena-tag-type";
|
||||
import { BattleSpec } from "#enums/battle-spec";
|
||||
import { Moves } from "#enums/moves";
|
||||
|
@ -4,6 +4,8 @@ import GameManager from "#app/test/utils/gameManager";
|
||||
import { Species } from "#enums/species";
|
||||
import { Moves } from "#enums/moves";
|
||||
import { allMoves } from "#app/data/move";
|
||||
import { MoveEffectPhase } from "#app/phases/move-effect-phase";
|
||||
import { TurnEndPhase } from "#app/phases/turn-end-phase";
|
||||
|
||||
describe("Moves - Retaliate", () => {
|
||||
let phaserGame: Phaser.Game;
|
||||
@ -37,7 +39,7 @@ describe("Moves - Retaliate", () => {
|
||||
vi.spyOn(retaliate, "calculateBattlePower");
|
||||
await game.startBattle([Species.ABRA, Species.COBALION]);
|
||||
game.move.select(Moves.RETALIATE);
|
||||
await game.phaseInterceptor.to("TurnEndPhase");
|
||||
await game.phaseInterceptor.to(TurnEndPhase);
|
||||
expect(retaliate.calculateBattlePower).toHaveLastReturnedWith(70);
|
||||
game.doSelectPartyPokemon(1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user