An eighth race built on the existing per-race pattern: a MonoBehaviour driver
registered from Awake, a progression table keyed on the boss state, an SE_Stats
carrier, and Harmony patches for the individual perks.
The helmet slot stays free. Whatever the player equips keeps every one of its
stats and only its mesh is swapped for the dvergr hood, which is the Skeleton's
helmet handling turned into a replacement rather than a plain hide.
Every percentage the spec left open lives in DvergurConfig as a named value and
is marked TODO there, so tuning the race never means touching the logic. The
knobs are static readonly rather than const so that switching a perk off with a
zero does not fold its guard into dead code.
The [AswidDebug] logging shipped in 1.3.8 wrote a line per aura tick per enemy
in radius, four times a second while channelling, plus a line for every devour
attempt and every inedible kill. It filled BepInEx's log for anyone playing an
Aswid. Genuine failure warnings are kept and retagged [Aswid]; the F8
consume-nearest-mob test patch goes with it.
PlayerVisualHider.Diagnostics is off now that transformed bodies are confirmed
hidden. It is a static rather than a const so flipping it back does not leave
the guarded calls unreachable.
The 1.3.9 changelog also records the logging removal, and that remote Skadi
flight now works for observers - the second of the two known issues left open
in 1.3.8, confirmed in multiplayer.
Bumps manifest.json, the packaged manifest and PluginVersion, adds the 1.3.9
changelog entry and swaps in the updated package icon.
Ships the transform animation fix along with the multiplayer and Aswid work
merged after 1.3.8: remote dragon forms now animate for other players, remote
Trol sizing is corrected (the 1.3.8 known issue), Aswid food buffs survive
death, and Surtlings, Bears and the Greydwarf family have real nutrition.
Hiding the human body with SetActive(false) on the player's "Visual" also
disabled the Animator that lives on it, and Unity rebinds an Animator when it
is re-enabled: the controller restarts from its entry state, which for the
player is the get-up clip played when joining a world. Every Skadi dragon form,
Bat Form and Mist Form therefore ended with the player standing back up off the
ground.
PlayerVisualHider hides the body by suppressing its renderers instead, leaving
the GameObject active so the Animator and ZSyncAnimation keep running for the
whole transformation. Hiding uses forceRenderingOff on top of Renderer.enabled,
which nothing else in the game writes on a character, so the body cannot be
un-hidden behind our back.
Applied to the local and remote paths of both races, and to the ZDO sync's
revert so a remote player who dies mid-form cannot stay invisible.
Bumps manifest.json, the packaging copy under Package/, and PluginVersion -
the last of which had been stuck at 1.3.2 since well before 1.3.6, so BepInEx
and every log line reported the wrong version.
Changelog covers everything since 1.3.6: the Draugh race, the Race Menu Ward
and personal progression, the Aswid aura/diet/keybind work, and the Skadi
combat cost rework and tier rebalance. The known multiplayer issue with remote
Trol sizing and remote Skadi flight is written down rather than left implicit.
Also documents the Draugh and the ward in the README itself, which still
claimed six races, and drops three Furling progression lines that had been
duplicated verbatim.
Packaging fixes, both in the target added last commit:
- SolutionDir is only defined when msbuild is handed a .sln, so it expanded to
"*Undefined*" and broke `dotnet build` of the project on its own. The repo
root is derived from ProjectDir instead.
- Zip names now carry the version, read back out of manifest.json so a release
is still numbered in exactly one place:
dist/RacesOfValheim_Thunderstore_1.3.8.zip and _Nexus_1.3.8.zip.
Race Menu Ward: a buildable ward (2 wood, hammer/Misc, no crafting station)
that manages your race outside the debug console - reset the race, switch
between the server's boss progression and your own, and advance that personal
progression by offering a boss's secondary drop to it. One is placed near the
sacrificial stones on first load of a world, by the host only.
BossProgressionManager grows a personal mode alongside the world one. The tier
is stored on the character rather than the world, so a personal tier travels
with the player between servers instead of being tied to whichever world
unlocked it. resetrace and the ward now share RacesOfValheim.ResetRace so both
paths clean up identical state.
Also in progress, and NOT yet working: remote Trol sizing and remote Skadi
flight. Both are computed from the observer instead of the observed -
- Remote Trols are scaled from the observing player's own progression, and
never show True Form, because SE_TrolTrueForm only exists on the transformed
player's client. Each Trol now publishes its state and True Form flag onto
its own ZDO for others to read.
- Remote Skadi dragons sink to the terrain regardless of the altitude being
replicated: Character.m_flying is only ever set on the flying player's
client, so observers run grounded motion under gravity. Flight is mirrored
through the ZDO and the remote copy's rigidbody gravity is disabled while it
lasts.
Neither has fixed the symptom yet, so both paths keep a throttled diagnostic
log reporting what each observer actually computes. Committed to get the
instrumentation onto the branch, not because it works.
Packaging no longer hardcodes another machine's desktop path: Thunderstore and
Nexus zips go to dist/ on Release builds only, and the DLL is copied into
Valheim only when VALHEIM_INSTALL actually points at a plugins folder.
It was a placeholder reading "The secrets of winter will be revealed
soon...". It now unfolds tier by tier like the Aswid and Furling ones,
covering the passives, the form keybinds, the flight controls and which
attacks are free. The frost bonus and spell damage figures are computed
from the same formulas the code uses, so the text cannot drift when
those constants are tuned.
Dragon melee never dealt damage at all: the damage block sat behind
!isMelee, so bite, claw and spin played an animation, charged eitr and
did nothing. Melee now sweeps for targets the way Fenrir's claws do, and
costs nothing - it is the baseline attack that has to work at every tier.
Everything Skadi casts now runs on stamina rather than eitr. Eitr food
only exists from the Mistlands on, while the Cold Spell unlocks at
Eikthyr and the drake at the Elder, so the old costs were either
unpayable or, in the drake's case, silently ignored because UseEitr
never checked affordability. Ranged volleys are charged per projectile
so the sixty shard breath no longer costs the same as a three shard
spit, capped so the widest one stays castable.
The Cold Spell also stopped borrowing the Staff of Frost's damage, which
handed out Mistlands numbers from Eikthyr and multiplied them by every
shard. It now scales with progression, and the improved cast spreads one
budget across its shards: wider, not stronger.
The kick that played over every cast was Valheim's own SecondaryAttack,
bound to the same Middle Mouse button - suppressed for a Skadi holding
the spell. Moder now keeps its ranged attack on Middle Mouse in the air
as on the ground, with no left hand attack aloft, and Fader's airborne
branch is gone since its form cannot fly.
Ability cooldowns finally show on the HUD, each with its own icon and a
live countdown.
Eikthyr was carrying three unlocks while later tiers carried little, so
the two passives move up: the Freezing-to-Cold conversion now lands with
Bonemass alongside the drake's attack, and eitr regeneration first
appears at Yagluth with the improved Cold Spell.
The +20% at Eikthyr is dropped rather than relocated, since Yagluth
already granted an undocumented +50% - now written down in the README.
Both manifests still described five races; Trol has been playable since
1.3.1. Draugh is deliberately left out until it ships. The packaging
manifest was also stuck at 1.3.3.1, two releases behind the root one
the build actually publishes.
UnityEngine.Input reads the device directly, so abilities bound to keys
or mouse buttons kept firing with the map, the inventory, a chest, the
chat or a menu open - clicking an item in a container also swung the
transformed attack.
Route that input through Player.TakeInput, which is what Valheim runs
its own controls through and already reports false for those states
(InventoryGui covers the backpack and chests alike). Aswid's transform
keys were the only place already doing this; the shared helper replaces
that one-off and covers Skadi's cold spell, form keys, flight toggle,
form attacks and flight boost, Fenrir's form keys and the attacks of all
four form behaviors, Trol's rock throw and true form, and Aswid's devour
toggle.
Cultist fire is a held button, so it is gated per read rather than
around the block: opening a GUI mid-stream now falls through to
StopFire() instead of leaving the flames running.
The multiplayer visual sync named each spawned model "<form>_multiplayer"
but searched for an existing one called "SkadiBody_Form", a name nothing
is ever assigned. The lookup therefore missed every time, and since
VisEquipment.UpdateVisuals runs each frame off CustomUpdate, observers
instantiated a fresh dragon roughly sixty times a second for as long as
the Skadi player stayed transformed.
The transformed player saw nothing wrong, because owners return early,
and the pile only got cleaned up in the reverted-to-human branch, so the
lag never let up on its own.
Look the model up by the name actually assigned. The scan also destroys
any surplus "_multiplayer" children it walks past, so clients that have
already accumulated a pile clear it on the first frame after updating
instead of needing to rejoin.
Flight ran on the debug-fly noclip, so it ignored aim entirely and needed
Space/Ctrl for height. It now uses Character's native flying-creature
movement with the camera's full look direction fed in each frame:
- Aim steers, including climb and dive; W powers forward, releasing it
holds level briefly and then settles into a glide instead of coasting
along the aim vector (which let you climb forever without input).
- The body actually turns now. m_flyTurnSpeed sat at Character's 12 deg/s
default because the Player prefab was never set up to fly, so a quarter
turn took over seven seconds and read as no rotation at all.
- Touching down no longer slides you forward forever. Zeroing the fly
speeds stops the character without fighting the AddForce UpdateFlying
queues, which had caused frame-to-frame jitter and TAA ghosting.
DurationMinutes was never wired to anything, so timed forms never expired
and their cooldown, which only starts on reversion, was unreachable in
practice. Timed forms now drop on their own, and both the remaining time
and the cooldown show up beside the minimap as a Moder trophy icon.
Attack capability was snapshotted when the form was entered, so reaching
the Bonemass tier while already transformed left the drake unarmed until
the player reverted and transformed again; it is re-read live now.
- resetrace never cleaned up SE_SkadiStats/SE_SkadiCooldown, so
Skadi's Aura and its frost buffs stuck around after switching race.
- Cold Spell projectile spawned near the feet (0.4m) and used the
unarmed kick animation; now spawns at chest height and uses the
galdr_cast (raised-arms) trigger instead.
- Freezing-to-Cold silently did nothing from tier 1 onward: Skadi's
passive Frost damage resistance made Valheim's own environmental
check skip Cold/Freezing entirely before our conversion patch ever
ran. Added a scoped patch that neutralizes just that environmental
check for the local Skadi player, plus a guard against Valheim's
own Cold-removal call flickering the converted status off every
other frame, plus an explicit cleanup of any real Freezing left
over from before the conversion kicked in.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
BepInEx.Core isn't on nuget.org (only on nuget.bepinex.dev), so restore
failed on machines without it configured globally. PackageThunderstore
also pointed at a contributor's personal desktop path; it now outputs
to a repo-local dist/ folder and uses the checked-in Package/icon.png.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>