Update Healer Man server

This commit is contained in:
phenom committed 2026-10-06 22:25:34 -04:00
1 parent 6114a2295f
commit 69809f7228
593 files changed
+903643 -40774

No files matched your search

@@ -0,0 +1,15 @@
/** Mirrors BuildWaterBodyMaterial's branch without assigning names to raw 4. */
export function nativeWaterRenderPolicy(descriptor) {
const property = descriptor.baseObject?.properties?.find(row => row.name === "waterDesc:full:enable");
if (property && (property.type !== 2 || !Number.isInteger(property.value))) {
throw new Error("Native water full-model enable must be a serialized BOOL.");
}
const fullModelRequested = property ? property.value !== 0 : false;
const eligibleBody = descriptor.bodyType === 0 || descriptor.bodyType === 2;
return {
fullModelEnabled: eligibleBody && descriptor.effectType !== 2 && fullModelRequested,
bodyTypeRaw: descriptor.bodyType,
fullModelRequested,
sourceBranch: "NORMAL/SOLID body, non-DIRECT effect, waterDesc:full:enable; browser enables reflection/refraction together",
};
}