Release Healer Man 0.1.9

This commit is contained in:
phenom committed 2026-08-30 14:16:56 -04:00
1 parent c245a199b6
commit d060296ade
74 files changed
+5901 -334

No files matched your search

+30
View File
@@ -25,6 +25,11 @@ const clips = [
{ name: "Fall (ID 40 variation 0)" },
{ name: "JumpEnd (ID 39 variation 0)" },
{ name: "JumpLandRun (ID 133 variation 0)" },
{ name: "Ready1H (ID 26 variation 0)" },
{ name: "Ready2H (ID 27 variation 0)" },
{ name: "Ready2HL (ID 28 variation 0)" },
{ name: "ReadyBow (ID 29 variation 0)" },
{ name: "HoldBow (ID 109 variation 0)" },
];
describe("WoW character animation selection", () => {
@@ -43,6 +48,31 @@ describe("WoW character animation selection", () => {
expect(selectCharacterBaseClip(clips, "run")).toBe(clips[2]);
});
it("uses the native ready pose for the equipped weapon stance", () => {
expect(selectCharacterBaseClip(clips, "idle", "one-handed")).toBe(clips[15]);
expect(selectCharacterBaseClip(clips, "idle", "two-handed")).toBe(clips[16]);
expect(selectCharacterBaseClip(clips, "idle", "two-handed-left")).toBe(clips[17]);
expect(selectCharacterBaseClip(clips, "idle", "bow")).toBe(clips[19]);
expect(selectCharacterBaseClip(clips, "run", "bow")).toBe(clips[2]);
expect(selectCharacterBaseClip([
clips[0],
clips[15],
], "idle", "bow")).toBe(clips[15]);
const runewakerClips = [
{ name: "Stand - stand_idle01" },
{ name: "Idle - 1h_idle" },
{ name: "Idle - 2h_idle" },
{ name: "Idle - bow_idle" },
];
expect(selectCharacterBaseClip(runewakerClips, "idle", "one-handed"))
.toBe(runewakerClips[1]);
expect(selectCharacterBaseClip(runewakerClips, "idle", "two-handed-left"))
.toBe(runewakerClips[2]);
expect(selectCharacterBaseClip(runewakerClips, "idle", "bow"))
.toBe(runewakerClips[3]);
});
it("rotates every variation of the highest-priority available ID", () => {
expect(selectWoWAnimationVariation(clips, [16], 0)).toBe(clips[9]);
expect(selectWoWAnimationVariation(clips, [16], 1)).toBe(clips[10]);