mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-14 19:39:29 +02:00
Fix and Lint Suggestions
This commit is contained in:
parent
4490e4e9bf
commit
f2a12bed28
@ -44,7 +44,10 @@ import { Variant } from "#sprites/variant";
|
|||||||
* }
|
* }
|
||||||
* ```
|
* ```
|
||||||
*/
|
*/
|
||||||
const overrides = {} satisfies Partial<InstanceType<OverridesType>>;
|
const overrides = {
|
||||||
|
STARTER_SPECIES_OVERRIDE: SpeciesId.TYPHLOSION,
|
||||||
|
MOVESET_OVERRIDE: [MoveId.EXPLOSION],
|
||||||
|
} satisfies Partial<InstanceType<OverridesType>>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If you need to add Overrides values for local testing do that inside {@linkcode overrides}
|
* If you need to add Overrides values for local testing do that inside {@linkcode overrides}
|
||||||
|
@ -37,7 +37,6 @@ export class PartyHealPhase extends BattlePhase {
|
|||||||
}
|
}
|
||||||
pokemon.updateInfo(true);
|
pokemon.updateInfo(true);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
const healSong = globalScene.playSoundWithoutBgm("heal");
|
const healSong = globalScene.playSoundWithoutBgm("heal");
|
||||||
globalScene.time.delayedCall(fixedInt(healSong.totalDuration * 1000), () => {
|
globalScene.time.delayedCall(fixedInt(healSong.totalDuration * 1000), () => {
|
||||||
healSong.destroy();
|
healSong.destroy();
|
||||||
|
@ -30,7 +30,7 @@ describe("Challenges - Limited Catch", () => {
|
|||||||
.enemySpecies(SpeciesId.VOLTORB)
|
.enemySpecies(SpeciesId.VOLTORB)
|
||||||
.enemyAbility(AbilityId.BALL_FETCH)
|
.enemyAbility(AbilityId.BALL_FETCH)
|
||||||
.enemyMoveset(MoveId.SPLASH)
|
.enemyMoveset(MoveId.SPLASH)
|
||||||
.startingModifier([{ name: "MASTER_BALL", count: 1 }])
|
.startingModifier([{ name: "MASTER_BALL", count: 1 }]);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should allow wild Pokémon to be caught on X1 waves", async () => {
|
it("should allow wild Pokémon to be caught on X1 waves", async () => {
|
||||||
|
@ -29,7 +29,7 @@ describe("Challenges - No Support", () => {
|
|||||||
.battleStyle("single")
|
.battleStyle("single")
|
||||||
.enemySpecies(SpeciesId.VOLTORB)
|
.enemySpecies(SpeciesId.VOLTORB)
|
||||||
.enemyAbility(AbilityId.BALL_FETCH)
|
.enemyAbility(AbilityId.BALL_FETCH)
|
||||||
.enemyMoveset(MoveId.SPLASH)
|
.enemyMoveset(MoveId.SPLASH);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should disable the shop in "No Shop"', async () => {
|
it('should disable the shop in "No Shop"', async () => {
|
||||||
|
@ -34,7 +34,7 @@ describe("Challenges - Permanent Faint", () => {
|
|||||||
.battleStyle("single")
|
.battleStyle("single")
|
||||||
.enemySpecies(SpeciesId.VOLTORB)
|
.enemySpecies(SpeciesId.VOLTORB)
|
||||||
.enemyAbility(AbilityId.BALL_FETCH)
|
.enemyAbility(AbilityId.BALL_FETCH)
|
||||||
.enemyMoveset(MoveId.SPLASH)
|
.enemyMoveset(MoveId.SPLASH);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should render Revival Blessing unusable by players only", async () => {
|
it("should render Revival Blessing unusable by players only", async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user