DraagynMods-ForsakenPowerDurationSleepReset icon

ForsakenPowerDurationSleepReset

Configurable Forsaken power duration, and cooldowns that can recharge only by sleeping through the night. Admin commands to reset cooldowns.

Last updated an hour ago
Total downloads 61
Total rating 1 
Categories Tweaks Server-side Client-side
Dependency string DraagynMods-ForsakenPowerDurationSleepReset-1.3.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333
ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2

README

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).