Gratak-VitalityRewrite icon

VitalityRewrite

By running, swimming, jumping, mining, woodcutting and not dying ;) you can increase your Vitality skill which improves many base attributes of your character.

Last updated a week ago
Total downloads 31772
Total rating 6 
Categories Tweaks Client-side Hildir's Request Update
Dependency string Gratak-VitalityRewrite-1.2.3
Dependants 52 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2105 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2105
pipakin-SkillInjector-1.1.1 icon
pipakin-SkillInjector

Injects new skills in a simple way for mod authors.

Preferred version: 1.1.1

README

Complete rewrite of Vitality Skill. Credits for the idea go to Xerepp01. His mod was not being maintained anymore and didn't work in the latest version of Valheim anymore. While this was fixed by Hub, there where still many unwanted quirks in that version of the mod. I have rewritten the whole thing with the aim of removing those quirks, keeping as many of the the ideas of the original mod as I deem reasonable and making the config both complete and understandable.

The vitality skill will have the following effects on your character:

Increased maximum health
Increased maximum stamina
Increased maximum eitr (only active if you have positive eitr already)
Decreased health regeneration timer
Increased base stamina regeneration
Increased base eitr regeneration
Decreased delay before stamina regeneration starts again
Jump and swim stamina cost reduction
Walking and running speed
Swimming speed and turning speed while swimming
Carry weight increase
Jump height increase
Fall damage decrease (both fixed compared to original mod where fall damage was reduced the longer you where in the air and configurable now)
Wood cutting damage increase (should have been in the original mod but failed to work)
Mining damage increase (should have been in the original mod but failed to work)

The vitality skill can be increased by:

Running (unchanged).
Swimming (not just floating). Compared to original mod no longer gaining this and running gain when running in shallow water...
Jumping. Increased by almost a factor of 10 since this was doing almost nothing in original mod.
Wood cutting. Slightly increased skill gain per hit with better axe.
Mining. Slightly increased skill gain per hit with better pickaxe.
The amount of gain can be modified in the config file.

Remark: All changes to variables usually constant in vanilla Valheim are now done at character load and whenever the vitality skill is leveled up rather than every 0.02 seconds. This means, that some changes done in Configuration Manager will not automatically be applied during the game. You can force an update though via 'vitalityrewrite apply' in the console (does not required devcommands). You can also reload a changed cfg file using 'vitalityrewrite reload'.

Changelog

1.0.1 Added option to reset your "fall velocity" when doing a jump. Does nothing without other mods but lets you dampen your fall using in-air jumps (EpicLoot offers an enchant to do this, others could as well). 1.0.2 - Recompile with new Valheim version (0.216.9) which seems to fix tree issue - Fixing jump spam level up 1.0.3 - Fixing for Hildirs Patch 1.0.4 - Continuing to fix for Hildir 1.1.0 - Running and Swimming will now only increase the skill every few seconds (same amount, just less increase spam) 1.1.1 - Recompile for 0.217.22 1.2.0 - Vitality skill now also effects Eitr 1.2.1 - Fixing compatibility with Epic Loots Airjump 1.2.2 - Server bugfix attempt 1.2.3 - Recompile for 0.217.46