mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
Fixed test
This commit is contained in:
parent
927aafce31
commit
50c9bcff92
@ -89,7 +89,7 @@ describe("Abilities - Lightningrod", () => {
|
|||||||
|
|
||||||
it("should redirect moves changed to electric type via ability", async () => {
|
it("should redirect moves changed to electric type via ability", async () => {
|
||||||
game.override.ability(AbilityId.GALVANIZE);
|
game.override.ability(AbilityId.GALVANIZE);
|
||||||
await game.classicMode.startBattle([SpeciesId.FEEBAS, SpeciesId.MAGIKARP]);
|
await game.classicMode.startBattle([SpeciesId.FEEBAS]);
|
||||||
|
|
||||||
const [enemy1, enemy2] = game.scene.getEnemyField();
|
const [enemy1, enemy2] = game.scene.getEnemyField();
|
||||||
game.field.mockAbility(enemy2, AbilityId.LIGHTNING_ROD);
|
game.field.mockAbility(enemy2, AbilityId.LIGHTNING_ROD);
|
||||||
|
Loading…
Reference in New Issue
Block a user