feat(skadi): make abilities and special attacks BepInEx-configurable

Binds every tunable number behind Skadi's Cold Spell, frost aura, bonus
frost damage, dragon-form scale/melee/ranged attacks, and directed flight
as BepInEx ConfigEntry values (SkadiConfig.cs), following
CONFIGURATION-MANAGER-HOWTO.md. Defaults match the previous hardcoded
constants exactly, so this is config-only, no gameplay change.

BepInEx writes these to BepInEx/config/com.nandor.racesofvalheim.cfg on
first run regardless of whether Configuration Manager is installed - a
plain, commented, hand-editable text file - so players without the plugin
can still retune values by hand.
This commit is contained in:
kanym 2026-08-06 12:45:53 +02:00
commit c088eb74f4
5 changed files with 172 additions and 30 deletions

View file

@ -24,6 +24,7 @@ namespace RacesOfValheim
private void Awake() {
Instance = this;
SkadiConfig.Bind(Config);
harmony.PatchAll();
gameObject.AddComponent<FenrirRace>();
gameObject.AddComponent<SkadiRace>();