Player api

This commit is contained in:
2026-10-13 22:59:48 -03:00
parent b34e97e487
commit a10b15a3fd
22 changed files with 581 additions and 89 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ Deno.test("players hear their attack speed for the indicator, and any swing, eve
operation: "add_multiplied_base",
});
ticks(1);
assertEquals(take(1).filter((m) => m.type === "attack_speed").map((m) => m.value), [4 * 1.3]);
assertEquals(take(1).filter((m) => m.type === "attributes").map((m) => m.attack_speed), [4 * 1.3]);
// too far to hit, but the swing still counts, like the client's indicator shows
const far = spawn(0.5, 100, 20.5);