Release Healer Man 0.1.25

This commit is contained in:
phenom committed 2026-09-09 16:48:50 -04:00
1 parent bac0da9300
commit e7cc588bfc
5 files changed
+27 -5

No files matched your search

@@ -0,0 +1,21 @@
import { readFileSync } from "node:fs";
import { describe, expect, it } from "vitest";
const source = readFileSync(new URL("./MobPopulation.tsx", import.meta.url), "utf8");
describe("mob nameplate presentation", () => {
it("occludes boss names against dungeon geometry", () => {
const nameplate = source.match(/\{showLabel && !dead \? \([\s\S]*?<\/Html>\s*\) : null\}/)?.[0] ?? "";
expect(nameplate).toContain('occlude="raycast"');
});
it("keeps boss names larger and differently colored", () => {
const mobStyle = source.match(/const mobLabelStyle: CSSProperties = \{([\s\S]*?)\n\};/)?.[1] ?? "";
const bossStyle = source.match(/const bossLabelStyle: CSSProperties = \{([\s\S]*?)\n\};/)?.[1] ?? "";
expect(mobStyle).toContain('fontSize: "11px"');
expect(bossStyle).toContain('color: "#ffe69a"');
expect(bossStyle).toContain('fontSize: "13px"');
});
});
+1
View File
@@ -1039,6 +1039,7 @@ function ProxyMob({
{showLabel && !dead ? (
<Html
center
occlude="raycast"
position={[0, labelHeight, 0]}
distanceFactor={13}
style={boss ? bossLabelStyle : mobLabelStyle}