Release Healer Man 0.1.9
This commit is contained in:
1 parent
c245a199b6
commit
d060296ade
74 files changed
+5901
-334
No files matched your search
@@ -22,7 +22,7 @@ describe("resolveEquipmentAppearance", () => {
|
||||
|
||||
expect(resolved.models).toEqual(expect.arrayContaining([
|
||||
expect.objectContaining({ itemId: 6472, attachment: "handRight" }),
|
||||
expect.objectContaining({ itemId: 6447, attachment: "handLeft" }),
|
||||
expect.objectContaining({ itemId: 6447, attachment: "shield" }),
|
||||
expect.objectContaining({ itemId: 5404, attachment: "shoulderLeft" }),
|
||||
expect.objectContaining({ itemId: 5404, attachment: "shoulderRight" }),
|
||||
]));
|
||||
@@ -39,6 +39,26 @@ describe("resolveEquipmentAppearance", () => {
|
||||
]);
|
||||
});
|
||||
|
||||
it("routes every shield model through the dedicated shield attachment", () => {
|
||||
for (const itemId of [6447, 6630, 13245]) {
|
||||
expect(resolveEquipmentAppearance([item(itemId)], "male").models).toEqual([
|
||||
expect.objectContaining({ itemId, attachment: "shield" }),
|
||||
]);
|
||||
}
|
||||
});
|
||||
|
||||
it("declares a stance-matched procedural fallback for every held model", () => {
|
||||
for (const itemId of [5243, 6447, 6448, 6469, 6472, 6630, 6631, 13245]) {
|
||||
const heldModels = resolveEquipmentAppearance([item(itemId)], "male").models
|
||||
.filter((model) => model.attachment !== "shoulderLeft" && model.attachment !== "shoulderRight");
|
||||
expect(heldModels).not.toHaveLength(0);
|
||||
for (const model of heldModels) {
|
||||
expect(model.fallbackKind).toBeTruthy();
|
||||
expect(model.weaponStance).toBeTruthy();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
it("uses gendered robe textures, equipment geosets, and the actual cape skin", () => {
|
||||
const resolved = resolveEquipmentAppearance([
|
||||
item(6465),
|
||||
|
||||
Reference in new issue
Block a user