Player api
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user