Update Healer Man server
This commit is contained in:
1 parent
ab1434a3b8
commit
e284f4fc76
60 files changed
+2704
-118
No files matched your search
@@ -116,7 +116,11 @@ export function packageWowOriginalEffects(manifest, options = {}) {
|
||||
const skin = original.buffer.readUInt32LE(60) ? source.read(skinName) : null;
|
||||
if (original.buffer.readUInt32LE(60) && !skin) throw new Error(`Missing skin: ${skinName}`);
|
||||
const mesh = skin ? decodeWotlkM2Mesh(original.buffer, skin.buffer, name) : null;
|
||||
const packagedTextures = effects.textures.map(packageTexture);
|
||||
const packagedTextures = effects.textures.map((texture) => packageTexture(
|
||||
name === "creature/fleshbeast/fleshbeast.m2" && texture.type === 11 && !texture.filename
|
||||
? { ...texture, filename: "Creature/FleshBeast/FleshBeastBlack.blp" }
|
||||
: texture,
|
||||
));
|
||||
const readyParticleIndices = effects.particles.flatMap((particle, index) => (
|
||||
packagedTextures[particle.textureIndex]?.url
|
||||
&& particle.samples.emissionRate.some((sample) => (sample.value?.value ?? sample.value) > 0)
|
||||
|
||||
Reference in new issue
Block a user