RacesOfValheim/JotunnModStub/Skadi
kanym 5cfd8cfab8 feat(skadi): rework dragon flight - longer stasis, stamina sprint, reverse thrust, water take-off
The hover window that holds a form level after you stop powering goes from 2
seconds to 5, so gliding is a choice rather than something that happens to you
the moment you let go.

Shift while holding W spends 15 stamina a second for 22 m/s instead of 12. It is
the only part of flight that costs anything - base flight stays free, because the
drake arrives at The Elder, long before a player has the pool to pay for simply
staying airborne - and running dry drops you back to the free boost rather than
out of the sky.

S beats backwards along the aim, pitch included: look down and press it and you
rise away from what you are watching. Reverse thrust alone would have spun the
dragon round to fly nose-first away from the camera, putting its tail where its
breath comes out, so the form claims AlwaysRotateCamera for exactly those frames
and keeps facing what it is retreating from.

Water is no longer a trap. Character.UpdateMotion asks IsSwimming before it ever
looks at m_flying, so a dragon that touched the sea was handed to UpdateSwimming
every frame: the flight patch never ran and there was no way back up short of
finding land. The Aswid's bat escapes this only because debug-fly is checked at
the very top of UpdateMotion, before water is considered at all - which is
exactly why it can take off from the water and Moder could not. Those frames now
go back to UpdateFlying, and while in swim depth the form climbs regardless of
where the camera points, so the surface is something you break out of rather than
something you sit in. Nothing that merely asks IsSwimming - the Wet status, the
animator, stamina - is touched.

All five speeds now run through m_flySlowSpeed instead of the m_run/m_flyFastSpeed
pair, which only ever picked between two of them.
2026-08-05 10:16:52 +02:00
..
DrakeFormBehavior.cs Add the Race Menu Ward; WIP on remote Trol/Skadi visuals 2026-08-02 08:45:47 +02:00
dummy.txt Initial commit 2026-07-30 19:00:13 +02:00
SkadiPatches.cs feat(skadi): rework dragon flight - longer stasis, stamina sprint, reverse thrust, water take-off 2026-08-05 10:16:52 +02:00
SkadiProgression.cs Move Freezing-to-Cold to Bonemass and eitr regen to Yagluth 2026-08-01 18:02:24 +02:00
SkadiRace.cs fix(aswid): center Vampiric Aura on the caster and stop transforms from casting the real Guardian Power 2026-08-03 21:37:58 +02:00
SkadiStatusEffects.cs Rework Skadi combat costs, fix dead melee, add cooldown icons 2026-08-01 18:02:24 +02:00