0 of 0

File information

Last updated

Original upload

Created by

fyodor

Uploaded by

fyodorxtv

Virus scan

Safe to use

Tags for this mod

About this mod

Fixes a very minor edge case with adrenaline decay not resetting correctly. All other adrenaline functionality seems to be working correctly in the 2.1 patch.

Requirements
Permissions and credits
Changelogs
Donations
Mod is compatible with latest (2.12a) patch.
This issue has mostly been fixed with the 2.1 patch!
Overshield decay is appropriately reset when the shield reaches its minimum expected value.
There is a very small edge case where decay will not reset if gaining more overshield while you are still decaying.
I've updated the mod to contain a fix for only this specific edge case.

Vanilla



Fix Applied


Installation
Extract the zip file into the Cyberpunk 2077 installation folder.
This mod requires redscript.

Compatibility
This fix might not be compatible with other mods that change Adrenaline behaviour.

Uninstalling
Delete the FixOvershield.reds file.
For older versions (<=1.2) run the following in Cyber Engine Tweaks:
Spoiler:  
Show
Game.GetStatPoolsSystem():RequestSettingStatPoolValueCustomLimit(Game.GetPlayer():GetEntityID(), "Overshield", 0.0, Game.GetPlayer());


Technical Details
No longer really relevant.

What you need to know:
  • Overshield value is stored in as a percentage of player health with a minimum value of zero. 
  • Rate of decay is scaled over time.
  • Decay scaling is removed by when the overshield decays to its minimum threshold.
  • There is a very small edge case (gaining overshield while you are already decaying) under which this scaling is not removed appropriately.
  翻译: