Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Skyrim mod to revert full health recovery after sleep and level up

License

NotificationsYou must be signed in to change notification settings

pragasette/no-health-reset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Features

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

Requirements

Installation

Use your mod manager of choice,Mod Organizer 2 is recommended.

Updating

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.01.0.2 ✔️
  • 1.0.11.0.2 ✔️

Also seeSemantic Versioning for End-User Game Mods.

Configuration

The following property of the_p7NHR_Quest quest can be edited usingTES5Edit or the console:

  • FloatSleepHealingMult (default:2.0): multiplies the healthamount recovered by sleeping.

Also see theImplementation Details section below.

Implementation Details

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: sinceHealRateandHealRateMult 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.

Known Issues

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

Alternatives

Errata

  • 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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp