Valheim
0 of 0

File information

Last updated

Original upload

Created by

SKKmods

Uploaded by

SKKmods

Virus scan

Safe to use

Tags for this mod

About this mod

Frustrated by bosses regenerating health faster than a solo player can pump needle arrows into them whilst chugging stamina, or when you step out to repair your stuff ? When a challenge becomes a chore, reduce or disable health regeneration on the bosses of your choice: none, some, all

Requirements
Permissions and credits
Changelogs
Frustrated by bosses regenerating health faster than a solo player can pump needle arrows into them whilst chugging stamina, or when you step out to repair your stuff ? When a challenge becomes a chore, reduce or disable health regeneration on the bosses of your choice: none, some, all 


Installation 

This solution depends on BepInEx for Valheim which must be installed first. Unzip the download file and copy SKKDisableBossRegeneration.DLL to the BepInEx/Plugins folder. 


Configuration

A config file BepInEx/config/SKK.DisableBossRegeneration.cfg is created on the first run. Default configuration is active, but it does nothing to your game until you set modify on individual bosses in the configuration file.



# Enable/disable this solution.
# Setting type: Boolean
# Default value: true
PluginEnabled = true

## Enable/disable debug logging.
# Setting type: Boolean
# Default value: false
DebugOutput = false

## Terminal command to reload config (can not switch PluginEnabled).
# Setting type: String
# Default value: SKKDisableBossRegeneration
TerminalDumpCommand = SKKDisableBossRegeneration

## Maximum number of active players to suppress health regeneration
# Setting type: Int32
# Default value: 1
NumberOfPlayersMax = 1

## Multiply base game regeneration by this decimal value (0 disables, 0.5 is 50% regeneration)
# Setting type: Single
# Default value: 0
RegenerationMultiplier = 0

## Eikthyr Health Regeneration.
# Setting type: Boolean
# Default value: false
ModifyEikthyr = false

## Elder Health Regeneration.
# Setting type: Boolean
# Default value: false
ModifyElder = false

## Bonemass Health Regeneration.
# Setting type: Boolean
# Default value: false
ModifyBonemass = false

## Moder Health Regeneration.
# Setting type: Boolean
# Default value: false
ModifyModer = false

## Yagluth Health Regeneration.
# Setting type: Boolean
# Default value: false
ModifyYagluth = false



Operation

This was designed to remove frustration for solo players on the later bosses. With health regeneration modified on a boss, if other players join your game/server to exceed the NumberOfPlayersMax setting, boss health will start normal regeneration. When they leave, boss health regeneration is modified again. Simple !

The RegenerationMultiplier is aplied only to bosses that have been set Modify = true. There is no config validation, the value should be greater or equal to 0:

0 disables regeneration
0.5 is 50% normal regeneration
1 is normal regeneration (why bother using this mod ?) 
1.5 is 150% normal regeneration & etc.

Settings can be edited and hot updated in game as the TerminalDumpCommand reloads the config file (but it can not switch PluginEnabled).


Multiplayer servers

This is a client side mod which will only be active on the host/server player instance. It can not be installed on a dedicated server instance.


Known Issues

none (yet)


Compatibility

Updated for 0.214.2 Mistlands 
Updated for 0.217.14 to disable [ TerminalCommand ] (Field 'Terminal._input' not found)


Support

1. Validate the solution is running in your game by (a) the presence of the config file and (b) using the TerminalDumpCommand in the terminal (aka console).  If the config file is not generated, the mod is not running for whatever reason is specific to your game config.

Spoiler:  
Show

SKK.DisableBossRegeneration,Configuration reloaded. 
SKK.DisableBossRegeneration******************************************* 
SKK.DisableBossRegeneration,IsServer,True 
SKK.DisableBossRegeneration,GetAllPlayers,1 
SKK.DisableBossRegeneration,NumberOfPlayersMax,1 
SKK.DisableBossRegeneration,RegenerationMultiplier,0.0 
SKK.DisableBossRegeneration,ModifyEikthyr,False 
SKK.DisableBossRegeneration,ModifyElder,False 
SKK.DisableBossRegeneration,ModifyBonemass,False 
SKK.DisableBossRegeneration,ModifyModer,True 
SKK.DisableBossRegeneration,ModifyYagluth,True 
SKK.DisableBossRegeneration******************************************* 


2. User posts are available here, or use the SKK Mods Discord Valheim channel at https://discord.gg/tgKNT77DC8