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:
parent
629a534bc3
commit
8595b7108a
6 changed files with 166 additions and 49 deletions
|
|
@ -148,10 +148,9 @@ namespace RacesOfValheim
|
|||
break;
|
||||
}
|
||||
|
||||
// Drain 2 Eitr per tick (5 ticks per second = 10 eitr/sec)
|
||||
p.UseEitr(2f);
|
||||
|
||||
yield return new WaitForSeconds(0.2f);
|
||||
p.UseEitr(DraughConfig.UndyingWillEitrDrainPerTick.Value);
|
||||
|
||||
yield return new WaitForSeconds(DraughConfig.UndyingWillTickInterval.Value);
|
||||
}
|
||||
|
||||
// Restore visuals
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue