chore(release): v1.4.16 - Trol True Form toggle past Fader, Gammeltroll thrown log

Past Fader the Trol's True Form never expires (SE ttl 0) and the key
toggles it off with no cooldown. The True Form log throw now fires one
projectile read off the Gammeltroll's own weapons at runtime, hitting
with the rock's damage formula, and falls back to the old physical log
if none is found; 'dumpgammel' logs what was resolved.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Ferdinando 2026-09-13 11:33:47 +02:00
commit 8aa917cfcb
9 changed files with 191 additions and 28 deletions

View file

@ -35,7 +35,9 @@ namespace RacesOfValheim
name = "SE_TrolTrueForm";
m_name = "True Form";
m_tooltip = "You have unleashed your inner troll!";
m_ttl = TrolConfig.TrueFormDuration.Value;
// Past Fader the form no longer runs out: m_ttl 0 is vanilla's "never expires", and
// the True Form key becomes the only way back (see TrolRace.TryTrueForm).
m_ttl = BossProgressionManager.GetCurrentProgressionState() >= 8 ? 0f : TrolConfig.TrueFormDuration.Value;
GameObject itemPrefab = PrefabManager.Cache.GetPrefab<GameObject>("Stone");
if (itemPrefab != null)