Update combat test to match real jaw_worm board game data
This commit is contained in:
parent
bdb83e40a2
commit
426443bc9e
1 changed files with 2 additions and 2 deletions
|
|
@ -41,8 +41,8 @@ describe("resolveEnemyTurn", () => {
|
|||
combat: { ...state.combat, dieResult: 1 },
|
||||
};
|
||||
const next = resolveEnemyTurn(state);
|
||||
// die result 1 maps to an attack action (hit 2), so no block regained
|
||||
expect(next.enemy.block).toBe(0);
|
||||
// die result 1 maps to a defend action (3 hit + 1 block), block resets then regains 1
|
||||
expect(next.enemy.block).toBe(1);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue