mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 00:52:47 +02:00
Fix SF test
This commit is contained in:
parent
a66263fd6a
commit
cd6f8b9c3d
@ -99,6 +99,7 @@ describe("Abilities - Sheer Force", () => {
|
||||
await game.toEndOfTurn();
|
||||
|
||||
// ability was disabled when using boosted attack
|
||||
expect(game.field.getEnemyPokemon()).toBe(enemyPokemon); // covers wimp out switch stuff
|
||||
expect(enemyPokemon.waveData.abilitiesApplied).not.toContain(ability);
|
||||
expect(headbuttMove.calculateBattlePower).toHaveLastReturnedWith(headbuttMove.power * SHEER_FORCE_MULT);
|
||||
expect(headbuttFlinchAttr.getMoveChance).toHaveLastReturnedWith(0);
|
||||
|
Loading…
Reference in New Issue
Block a user