feat(draugh): make abilities BepInEx-configurable; reorder Skadi sections

Adds DraughConfig.cs, following the SkadiConfig/AswidConfig pattern: one
Configuration Manager section per tier ability (Passive Combat, Sunken
Menace, Rotting Edge, Undead Fortitude, North Wind, Undying Will, Swarm Of
Terror, Steal Their Breath). No keybinds section - every Draugh ability
triggers off a game event (parry, hit taken/landed, death) rather than a
key press. Defaults match the previous hardcoded constants exactly.

Also reorders SkadiConfig so Passive Combat binds right after Keybinds,
matching the Aswid/Draugh section order (Keybinds, then Passive Combat,
then the rest).

Config sections stay bound alphabetically by race (Aswid, Draugh, Skadi)
in RacesOfValheim.Awake().
This commit is contained in:
kanym 2026-08-06 13:42:44 +02:00
commit 8595b7108a
6 changed files with 166 additions and 49 deletions

View file

@ -28,6 +28,7 @@ namespace RacesOfValheim
// follows bind order rather than sorting itself - confirmed from the Skadi/Aswid
// ordering in-game. Keep new races' Bind() calls slotted in alphabetically here.
AswidConfig.Bind(Config);
DraughConfig.Bind(Config);
SkadiConfig.Bind(Config);
harmony.PatchAll();
gameObject.AddComponent<FenrirRace>();