ForsakenPowerDurationSleepReset
Configurable Forsaken power duration, and cooldowns that can recharge only by sleeping through the night. Admin commands to reset cooldowns.ForsakenPowerDurationSleepReset
Changes how Forsaken (boss) powers work.
Settings (BepInEx/config/com.forsakenpowerdurationsleepreset.cfg)
| Setting | Default | Meaning |
|---|---|---|
PowerDurationMinutes |
30 | How long a power lasts once activated |
CooldownMinutes |
-1 | -1 = no timer; the power recharges only when the night is slept through. 0 = no cooldown. >0 = normal countdown of that many minutes |
ResetOnSleep |
true | When CooldownMinutes is 0 or more, sleeping through the night also recharges the power early. Ignored at -1 |
EndPowerOnSleep |
off | Sleeping through the night also ends any Forsaken power that is still running, instead of letting its remaining time carry over |
In sleep-only mode the power's HUD timer shows "Sleep" while it is recharging.
Multiplayer
- Works in single-player and on servers without the mod, using your own config.
- If the server has the mod, every player must have the same version, and the server's settings override the players'.
Admin console commands (F5)
forsaken_reset- recharge your own power.forsaken_reset_all- recharge every player's power (they need the mod).
You must be an admin of the server (or have devcommands enabled).
Install
Install BepInExPack_Valheim and Jotunn, then this mod (r2modman does this automatically).
