mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09:27 +02:00
Fix Stealth Rocks test
This commit is contained in:
parent
ae6c74bcd8
commit
7ab87d234e
@ -155,7 +155,6 @@ describe("Moves - Entry Hazards", () => {
|
|||||||
|
|
||||||
const enemy = game.field.getEnemyPokemon();
|
const enemy = game.field.getEnemyPokemon();
|
||||||
expect(enemy).toHaveStatusEffect(status);
|
expect(enemy).toHaveStatusEffect(status);
|
||||||
// shoudl
|
|
||||||
expect(game.textInterceptor.logs).not.toContain(
|
expect(game.textInterceptor.logs).not.toContain(
|
||||||
i18next.t("arenaTag:toxicSpikesActivateTrapPoison", {
|
i18next.t("arenaTag:toxicSpikesActivateTrapPoison", {
|
||||||
pokemonNameWithAffix: getPokemonNameWithAffix(enemy),
|
pokemonNameWithAffix: getPokemonNameWithAffix(enemy),
|
||||||
@ -190,8 +189,7 @@ describe("Moves - Entry Hazards", () => {
|
|||||||
{ multi: 0.5, species: SpeciesId.DURALUDON },
|
{ multi: 0.5, species: SpeciesId.DURALUDON },
|
||||||
{ multi: 1, species: SpeciesId.LICKILICKY },
|
{ multi: 1, species: SpeciesId.LICKILICKY },
|
||||||
{ multi: 2, species: SpeciesId.DARMANITAN },
|
{ multi: 2, species: SpeciesId.DARMANITAN },
|
||||||
// TODO: Figure out why quad weak pokemon are taking 33% damage from rocks instead of 50%
|
{ multi: 4, species: SpeciesId.DELIBIRD },
|
||||||
// { multi: 4, species: SpeciesId.ARTICUNO },
|
|
||||||
])("should deal damage based on the target's weakness to Rock - $multi", async ({ multi, species }) => {
|
])("should deal damage based on the target's weakness to Rock - $multi", async ({ multi, species }) => {
|
||||||
game.override.enemySpecies(species);
|
game.override.enemySpecies(species);
|
||||||
game.scene.arena.addTag(ArenaTagType.STEALTH_ROCK, 0, undefined, 0, ArenaTagSide.ENEMY);
|
game.scene.arena.addTag(ArenaTagType.STEALTH_ROCK, 0, undefined, 0, ArenaTagSide.ENEMY);
|
||||||
|
Loading…
Reference in New Issue
Block a user