mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
Fix BattlerIndex import
This commit is contained in:
parent
e35ee4cf18
commit
1b3f80fda8
@ -1,6 +1,6 @@
|
|||||||
import type { BattlerIndex } from "#app/battle";
|
|
||||||
import { applyPostSummonAbAttrs, PostSummonAbAttr } from "#app/data/abilities/ability";
|
import { applyPostSummonAbAttrs, PostSummonAbAttr } from "#app/data/abilities/ability";
|
||||||
import { PostSummonPhase } from "#app/phases/post-summon-phase";
|
import { PostSummonPhase } from "#app/phases/post-summon-phase";
|
||||||
|
import type { BattlerIndex } from "#enums/battler-index";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper to {@linkcode PostSummonPhase} which applies abilities
|
* Helper to {@linkcode PostSummonPhase} which applies abilities
|
||||||
|
@ -67,7 +67,7 @@ describe("Ability Activation Order", () => {
|
|||||||
expect(game.scene.arena.weather?.weatherType).toBe(WeatherType.SUNNY);
|
expect(game.scene.arena.weather?.weatherType).toBe(WeatherType.SUNNY);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should activate priority AbilityId first", async () => {
|
it("should activate priority abilities first", async () => {
|
||||||
game.override
|
game.override
|
||||||
.startingLevel(1)
|
.startingLevel(1)
|
||||||
.enemyLevel(100)
|
.enemyLevel(100)
|
||||||
|
Loading…
Reference in New Issue
Block a user