chore(release): v1.4.18 - Valheim hotfix flight fix, 1.0 shop fixes, Fenrir speed

Drake flight resolves ZInput.GetJoyLeftStickY at runtime, since the
hotfix dropped its bool parameter. Faction merchant TradeItems now set
the 1.0 fields StoreGui dereferences (m_tooltip, m_buyPlayerEffects),
and the Dvergar trader discount clones the whole TradeItem instead of
rebuilding four fields. Trol totem refusals return true so vanilla's
$msg_cantuseon no longer covers them. The Fenrir curse speed modifier
is the bonus alone (SE_Stats adds it), not 1 + bonus. New Discord link.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Ferdinando 2026-09-18 17:10:24 +02:00
commit c7cbd6bece
9 changed files with 59 additions and 17 deletions

View file

@ -39,7 +39,9 @@ namespace RacesOfValheim
int state = BossProgressionManager.GetCurrentProgressionState();
m_fallDamageModifier = FenrirProgression.GetFallDamageModifier(state);
m_speedModifier = 1.0f + FenrirProgression.GetSpeedModifier(state);
// SE_Stats.ModifySpeed adds baseSpeed * m_speedModifier, so this is the bonus alone:
// 0 is vanilla speed, 0.03 is +3%. A leading 1.0f here was a flat +100%.
m_speedModifier = FenrirProgression.GetSpeedModifier(state);
m_jumpModifier = new Vector3(0, FenrirProgression.GetJumpModifier(state), 0);
}
}