Ran Biome

This commit is contained in:
Bertie690 2025-09-10 13:51:01 -04:00
parent 923742639f
commit 95cf1b1203
2 changed files with 5 additions and 5 deletions

View File

@ -736,8 +736,7 @@ export class AttackTypeImmunityAbAttr extends TypeImmunityAbAttr {
override canApply(params: TypeMultiplierAbAttrParams): boolean {
const { move } = params;
return (
move.category !== MoveCategory.STATUS
// TODO: make thousand arrows ignore levitate in a different manner
move.category !== MoveCategory.STATUS // TODO: make thousand arrows ignore levitate in a different manner
&& !move.hasAttr("NeutralDamageAgainstFlyingTypeAttr")
&& super.canApply(params)
);

View File

@ -61,9 +61,10 @@ describe.sequential("Move - Flying Press", () => {
expect
.soft(
flyingPressEff,
`Flying Press effectiveness against ${toTitleCase(PokemonType[type])} was incorrect!` +
`\nExpected: ${flyingPressEff},` +
`\nActual: ${primaryEff * flyingEff} (=${primaryEff} * ${flyingEff})`,
// biome-ignore lint/complexity/noUselessStringConcat: Biome can't detect multiline concats with operators before line
`Flying Press effectiveness against ${toTitleCase(PokemonType[type])} was incorrect!`
+ `\nExpected: ${flyingPressEff},`
+ `\nActual: ${primaryEff * flyingEff} (=${primaryEff} * ${flyingEff})`,
)
.toBe(primaryEff * flyingEff);
}