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:
parent
8aa917cfcb
commit
c7cbd6bece
9 changed files with 59 additions and 17 deletions
|
|
@ -52,6 +52,14 @@ namespace RacesOfValheim
|
|||
m_prefab = itemDrop,
|
||||
m_stack = 1,
|
||||
m_price = entry.Price,
|
||||
// Valheim 1.0 fields that StoreGui dereferences without a null check:
|
||||
// FillList reads m_tooltip.Length, BuySelectedItem calls
|
||||
// m_buyPlayerEffects.Create. Empty means "use the item's own".
|
||||
m_name = string.Empty,
|
||||
m_tooltip = string.Empty,
|
||||
m_buyKey = string.Empty,
|
||||
m_incrementKey = string.Empty,
|
||||
m_buyPlayerEffects = new EffectList(),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue