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.
This commit is contained in:
kanym 2026-08-05 10:16:52 +02:00
commit 5cfd8cfab8
3 changed files with 170 additions and 27 deletions

View file

@ -125,9 +125,12 @@ This mod currently introduces 8 custom races:
- **Fader**: Skeleton Dragon Form ('J' Key).
While transformed, Right Mouse toggles flight. You glide toward wherever you are aiming; hold W
to power forward and climb. Let go and the form holds level for a couple of seconds before
settling into a gentle descent. Timed forms show their remaining seconds, and their cooldown,
as a Moder trophy icon beside the minimap.
to power forward and climb, and add Shift to spend stamina on a burst of speed. S beats backwards
along your aim - look down and press it to rise away from whatever you are watching, without
turning to face away from it. Let go of everything and the form holds level for five seconds
before settling into a gentle descent. Water is no obstacle: a flying form beats its way back
out of the sea instead of being stuck paddling on the surface. Timed forms show their remaining
seconds, and their cooldown, as a Moder trophy icon beside the minimap.
### Skeleton Progression
- **Base (No Bosses)**: +50 Max Health. Undead Diet (Cannot eat mortal food, no stamina bar).