feat: add encounter roster visibility and kill actions
- persist independent Hide Disabled and Hide Dead encounter controls - keep dead PCs exempt from Hide Dead while allowing Hide Disabled to hide any inactive participant - add confirmed Kill action that sets zero HP, dead, and inactive without deleting - add undoable Heal Full action above Revive - fix random initiative reroll test flake
This commit is contained in:
1 parent
0e7bc7c099
commit
15347bfdc8
5 files changed
+300
-27
No files matched your search
@@ -51,7 +51,6 @@ describe('rerollAllInitiatives', () => {
|
||||
const orderBefore = [...e.turnOrderIds];
|
||||
|
||||
const out = await rerollAllInitiatives(e, ctx);
|
||||
expect(find(out, 'a').initiative).not.toBe(10);
|
||||
|
||||
const undone = await undoLast(ctx, out);
|
||||
expect(find(undone, 'a').initiative).toBe(10);
|
||||
|
||||
Reference in new issue
Block a user