feat(skadi): add Rime Feather hover trinket (Mountain faction feature)
Utility-slot item cloned from Megingjord: holding Space while airborne climbs at a steady rate (stamina-gated), letting go caps the fall speed into a free Drake-glide-inspired float instead of a hard drop, and feather fall is always on while equipped via the item's own m_fallDamageModifier equip effect. Independent of DrakeFormBehavior/Character.m_flying on purpose. Crafts at a plain Forge for now (FreezeGland x5 + Silver x5) - the Factions merchant-gate item and a race lock on the fall-damage effect are still open, see MOUNTAIN-FACTION-BRAINSTORM.md.
This commit is contained in:
parent
b34deef2de
commit
c320fa5b2b
5 changed files with 183 additions and 1 deletions
|
|
@ -63,6 +63,15 @@ namespace RacesOfValheim
|
|||
public static ConfigEntry<float> FaderSpinDamage;
|
||||
public static ConfigEntry<float> FaderSpinRadius;
|
||||
|
||||
// ─── Hover Trinket (Rime Feather) ───────────────────────────────────
|
||||
// Deliberately separate from the Directed Flight block below: this is the always-available
|
||||
// base-form trinket (hold Space while airborne to climb), not the Elder-onward Drake/Moder
|
||||
// form transformation. See SkadiHoverTrinket.cs.
|
||||
public static ConfigEntry<float> TrinketAscendSpeed;
|
||||
public static ConfigEntry<float> TrinketStaminaPerSecond;
|
||||
public static ConfigEntry<float> TrinketGlideFallSpeed;
|
||||
public static ConfigEntry<float> TrinketFallDamageReduction;
|
||||
|
||||
// ─── Directed flight (Drake/Moder) ────────────────────────────────────
|
||||
public static ConfigEntry<float> FlightTurnSpeed;
|
||||
public static ConfigEntry<float> FlightGlideSpeed;
|
||||
|
|
@ -152,6 +161,16 @@ namespace RacesOfValheim
|
|||
FaderSpinRadius = config.Bind(attacks, "Fader Spin Radius", 5f,
|
||||
new ConfigDescription("Hit-sweep radius for the Skeleton Dragon's spin attack.", new AcceptableValueRange<float>(1f, 15f)));
|
||||
|
||||
const string trinket = "Skadi - Hover Trinket";
|
||||
TrinketAscendSpeed = config.Bind(trinket, "Ascend Speed", 4f,
|
||||
new ConfigDescription("Climb speed (m/s) while airborne and holding Space with the Rime Feather equipped.", new AcceptableValueRange<float>(0.5f, 15f)));
|
||||
TrinketStaminaPerSecond = config.Bind(trinket, "Stamina Per Second", 8f,
|
||||
new ConfigDescription("Stamina drained per second while climbing. Running out hands the frame back to normal gravity.", new AcceptableValueRange<float>(0f, 60f)));
|
||||
TrinketGlideFallSpeed = config.Bind(trinket, "Glide Fall Speed", 5.4f,
|
||||
new ConfigDescription("Maximum fall speed (m/s) while airborne without holding Space - a free parachute-style glide, Drake-flight-inspired, rather than a normal hard drop. Only caps actual falling, so it never robs a jump of its rise.", new AcceptableValueRange<float>(1f, 20f)));
|
||||
TrinketFallDamageReduction = config.Bind(trinket, "Fall Damage Reduction", 1f,
|
||||
new ConfigDescription("Fall damage reduction while the Rime Feather is equipped (1 = fully immune), applied via the item's own equip status effect regardless of the Space climb.", new AcceptableValueRange<float>(0f, 1f)));
|
||||
|
||||
const string flight = "Skadi - Directed Flight";
|
||||
FlightTurnSpeed = config.Bind(flight, "Turn Speed", 120f,
|
||||
new ConfigDescription("Degrees per second the dragon form turns to face its heading.", new AcceptableValueRange<float>(10f, 360f)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue