Release v0.1.1 2026-07-10

This commit is contained in:
Warren H
2026-07-10 23:47:37 -04:00
parent 537a311f52
commit 6726c600e4
40 changed files with 2987 additions and 192 deletions
+13
View File
@@ -173,6 +173,19 @@ describe("Disc Priest combat simulation", () => {
expect(paused.castAbility("renew")).toBe(false);
});
it("does not publish unchanged player positions while idle", () => {
let updates = 0;
const unsubscribe = useGameStore.subscribe(() => { updates += 1; });
const start = useGameStore.getState().playerPosition;
useGameStore.getState().setPlayerPosition([start[0], start[1]]);
expect(updates).toBe(0);
useGameStore.getState().setPlayerPosition([start[0] + 0.25, start[1]]);
expect(updates).toBe(1);
unsubscribe();
});
it("telegraphs, executes, and recovers from a Bull charge", () => {
while (useGameStore.getState().time < 7.1) useGameStore.getState().tick(0.1);
const telegraph = useGameStore.getState().bossMotion;