RacesOfValheim/JotunnModStub/Skeleton
kanym 00d4fd6e46 fix(skeleton): stop the fire aura borrowing another mod's VFX by name
The tier-5 fire aura looked for "vfx_smoke", then "vfx_surtling_death".
Neither name exists in Valheim, checked against the game's own asset
manifests, so both lookups came back null and the aura has never been
visible in a plain install.

The dead branch was not harmless. PrefabManager.Cache resolves by asset
name across everything in memory, other mods' asset bundles included, and
its tie-break for a duplicate name ends in "newest wins". A name vanilla
does not use has no vanilla candidate to beat, so it is a free slot.

Magic_Supremacy fills it. The lookup resolved to
'EncounterCreatureRikoMountain_DO/vfx_smoke', a child node of one of its
creatures carrying 'club_trail_riko_DO' on 'Dreanegade/ParticleAlphaEmission'
- a weapon trail, on an emissive shader, sprayed through a 4.5m sphere on
the player. That is the purple smoke around the burning skull users
reported, on every client that could see the skeleton.

The aura now draws nothing on purpose, which costs it nothing it had. Its
damage, radius and tick are untouched. The two identical EnsureFireAuraVFX
copies in SkeletonRace and ZdoVisualSync are replaced by one
SkeletonVisuals.EnsureFireAura, shaped like DraughVisuals.EnsureAura; the
call sites stay, so reinstating the visual needs no change in either file.
The comment on it records the whole chain and the way to build it properly,
through BorrowEffect, the way HeadFlame already does.

Also keeps a resolution log on the model lookup: every magic mod in the
report ships an object called "Skeleton", which is this race's own tier-0
model name. The vanilla creature won during the repro; root=False in that
log is what says it stopped winning.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-25 15:54:21 +02:00
..
SkeletonBonePile.cs fix(skeleton): Summon on Kill was completely dead - fix the whole chain 2026-08-29 16:01:23 +02:00
SkeletonBonePileBehaviour.cs fix: race buildings keep their own message when an item is used on them 2026-09-18 17:13:16 +02:00
SkeletonConfig.cs feat(skeleton): make ability numbers BepInEx-configurable, add fire VFX toggle 2026-08-06 15:11:39 +02:00
SkeletonEyeGlow.cs warvulture 2026-08-13 19:13:24 +02:00
SkeletonJawFix.cs warvulture 2026-08-11 19:29:58 +02:00
SkeletonPatches.cs fix(skeleton): stop the fire aura borrowing another mod's VFX by name 2026-09-25 15:54:21 +02:00
SkeletonProgression.cs fix(skeleton): Summon on Kill was completely dead - fix the whole chain 2026-08-29 16:01:23 +02:00
SkeletonRace.cs fix(skeleton): stop the fire aura borrowing another mod's VFX by name 2026-09-25 15:54:21 +02:00
SkeletonSentry.cs feat(skeleton): bound bone pile and bound sentry 2026-08-07 17:02:35 +02:00
SkeletonStatusEffects.cs feat(skeleton): make ability numbers BepInEx-configurable, add fire VFX toggle 2026-08-06 15:11:39 +02:00
SkeletonVisuals.cs fix(skeleton): stop the fire aura borrowing another mod's VFX by name 2026-09-25 15:54:21 +02:00