Oblivion
0 of 0

File information

Last updated

Original upload

Created by

superoverweeb

Uploaded by

superoverweeb

Virus scan

Safe to use

Tags for this mod

About this mod

The player regenerates health while not in combat!

Permissions and credits
Donations
In Oblivion, you can restore your health completely by simply waiting. This creates a loop where after every battle or situation where damage is taken, waiting becomes a constant annoyance and is hard to break from. With this mod, your health will rapidly regenerate... as long as you're not in combat.

This was achieved via a quest script where a new passive ability is added to your active effect inventory while not in combat. This ability is removed when in combat. The script is far simpler than the ones seen in other mods of this kind and is super easy to modify or use as a jumping-off point for your own mod.

This is the first script I've ever done, so feedback is appreciated. The only minor bug seems to be that it takes a minute to kick-in on new characters. It works just fine on existing saves. Of course, time will tell if it holds up in every situation, so let me know if you find any issues! The script is below:

;when exiting combat, an ability called "AbHealthRegen" is added
;when entering combat, "AbHealthRegen" is removed

scriptName HealthRegeneration

short DoOnce

float fQuestDelayTime

begin GameMode

    set fQuestDelayTime to .01

    if (player.IsInCombat != 1) && (DoOnce != 1)
        message " "
        message " "
        player.addspell AbHealthRegen
        set DoOnce to 1
    endif

    if (player.IsInCombat == 1) && (DoOnce == 1)
        message " "
        message " "
        player.removespell AbHealthRegen
        set DoOnce to 0
    endif

end