- Notifications
You must be signed in to change notification settings - Fork1
Skyrim mod to revert full health recovery after sleep and level up
License
pragasette/no-health-reset
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
No Health Reset is a mod forThe Elder Scrolls V: Skyrim to revertthe full health recovery which occurs after sleep and level-up.
It is intended to work with any mod which reduces healthregeneration, such asNPC Stat Rescaler.
- After sleep, revert health to its previous value, countingregenerationfor the hours passed.
- After level-up, revert health to its previous value, counting if it waschosen as the attribute to increase.
Also see theImplementation Details section below.
- The Elder Scrolls V: Skyrim
- Skyrim Script Extender (SKSE)
- A mod or tweak to decrease health regeneration, for example:
- NPC Stat Rescaler
- Requiem
- SkyTweak
- theconsole command
player.modAV HealRateMult -100
- changingHealth Regen in theRace record
Use your mod manager of choice,Mod Organizer 2 is recommended.
It is safe to update to a newer release in the middle of a game, as long as thefirst number (major version) doesn't change:
- 1.0.0 →1.0.2 ✔️
- 1.0.1 →1.0.2 ✔️
Also seeSemantic Versioning for End-User Game Mods.
The following property of the_p7NHR_Quest
quest can be edited usingTES5Edit or the console:
Float
SleepHealingMult
(default:2.0): multiplies the healthamount recovered by sleeping.
Also see theImplementation Details section below.
Health after sleep is calculated as:
newHealth = oldHealth + baseHealth * SleepHealingMult * HealRate / 100 * HealRateMult / 100 * 60 * 60 * hours / TimeScale
where:
newHealth
is the value after sleeping;oldHealth
is the value before sleeping;baseHealth
is the value without damage;SleepHealingMult
(default:2.0) is afloat
property of the_p7NHR_Quest
quest, chosen so that sleeping and waiting restore the sameamount;HealRate
(default:0.70) is an actor value affectingregeneration;HealRateMult
(default:100) is another actor value affectingregeneration;hours
is the time spent sleeping;TimeScale
(default:20) is a global variable determininghowgametime passes compared toreal time.
Note thatTimeScale
affects the amount of health restored: sinceHealRate
andHealRateMult
determine the percentage ofbaseHealth
recovered inrealtime seconds, a lower value ofTimeScale
makes the same amount of healthrecover over a shorter lapse ofgame time. The same can be observed whenwaiting in vanilla game, as long as the regeneration rate is low enough.
Sleeping can cause death when the regeneration rate is below zero.
This can occur with effects which further decrease health regeneration, suchasFrostfall exposure oriNeed hunger, and is not consistent with how thegame handles negative rates, but was left as a motivation to treat thoseconditions before resting.
- Realistic Regeneration applies custom regeneration rates to sleep.
- This document incorrectly reported a similar feature was included inRequiem until version2.0.2: insteadthe changelog reports it wasremoved since version3.4.0.
About
Skyrim mod to revert full health recovery after sleep and level up