mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 23:12:20 +02:00
Added TODO test case for Roost
This commit is contained in:
parent
41f066cb4b
commit
19cca2664b
@ -7,7 +7,7 @@ import { MoveEffectPhase } from "#app/phases/move-effect-phase";
|
|||||||
import { TurnEndPhase } from "#app/phases/turn-end-phase";
|
import { TurnEndPhase } from "#app/phases/turn-end-phase";
|
||||||
import GameManager from "#test/testUtils/gameManager";
|
import GameManager from "#test/testUtils/gameManager";
|
||||||
import Phaser from "phaser";
|
import Phaser from "phaser";
|
||||||
import { afterEach, beforeAll, beforeEach, describe, expect, test } from "vitest";
|
import { afterEach, beforeAll, beforeEach, describe, expect, test, it } from "vitest";
|
||||||
|
|
||||||
describe("Moves - Roost", () => {
|
describe("Moves - Roost", () => {
|
||||||
let phaserGame: Phaser.Game;
|
let phaserGame: Phaser.Game;
|
||||||
@ -47,6 +47,9 @@ describe("Moves - Roost", () => {
|
|||||||
* 6. Non flying types using roost (such as dunsparce) are already grounded, so this move will only heal and have no other effects.
|
* 6. Non flying types using roost (such as dunsparce) are already grounded, so this move will only heal and have no other effects.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// TODO: This test currently is meaningless since we don't fail ineffective moves
|
||||||
|
it.todo("should still ground the user without failing when used at full HP");
|
||||||
|
|
||||||
test("Non flying type uses roost -> no type change, took damage", async () => {
|
test("Non flying type uses roost -> no type change, took damage", async () => {
|
||||||
await game.classicMode.startBattle([SpeciesId.DUNSPARCE]);
|
await game.classicMode.startBattle([SpeciesId.DUNSPARCE]);
|
||||||
const playerPokemon = game.scene.getPlayerPokemon()!;
|
const playerPokemon = game.scene.getPlayerPokemon()!;
|
||||||
|
Loading…
Reference in New Issue
Block a user