Update combat test to match real jaw_worm board game data

This commit is contained in:
Jared Miller 2026-02-23 19:08:59 -05:00
parent bdb83e40a2
commit 426443bc9e
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C

View file

@ -41,8 +41,8 @@ describe("resolveEnemyTurn", () => {
combat: { ...state.combat, dieResult: 1 }, combat: { ...state.combat, dieResult: 1 },
}; };
const next = resolveEnemyTurn(state); const next = resolveEnemyTurn(state);
// die result 1 maps to an attack action (hit 2), so no block regained // die result 1 maps to a defend action (3 hit + 1 block), block resets then regains 1
expect(next.enemy.block).toBe(0); expect(next.enemy.block).toBe(1);
}); });
}); });