Compare commits

...

2 Commits

Author SHA1 Message Date
Bertie690
7e402d02b0
Added missing brace 2025-08-10 14:20:20 -04:00
Bertie690
371e99a4a2
Fix flying-press.test.ts 2025-08-10 14:18:00 -04:00

View File

@ -115,16 +115,17 @@ describe.sequential("Move - Flying Press", () => {
hawlucha.setTempAbility(allAbilities[AbilityId.NORMALIZE]);
checkEffForAllTypes(PokemonType.NORMAL);
});
});
it("should deal 2x to Wonder Guard Shedinja under Electrify", () => {
game.field.mockAbility(enemy, AbilityId.WONDER_GUARD);
hawlucha.addTag(BattlerTagType.ELECTRIFIED);
it("should deal 0.125x damage against a Normal/Ice type with Grass added", () => {
enemy.summonData.types = [PokemonType.NORMAL, PokemonType.ICE];
enemy.summonData.addedType = PokemonType.GRASS;
const flyingPressEff = enemy.getAttackTypeEffectiveness(hawlucha.getMoveType(allMoves[MoveId.FLYING_PRESS]), {
const moveType = hawlucha.getMoveType(allMoves[MoveId.FLYING_PRESS]);
const flyingPressEff = enemy.getAttackTypeEffectiveness(moveType, {
source: hawlucha,
move: allMoves[MoveId.FLYING_PRESS],
});
expect(flyingPressEff).toBe(2);
expect(flyingPressEff).toBe(0.125);
});
});
});