DynamicBarrierDecay
Sets barrier decay proportional to your current barrier instead of max barrier.
Date uploaded | 4 years ago |
Version | 1.0.0 |
Download link | zombieseatflesh7-DynamicBarrierDecay-1.0.0.zip |
Downloads | 11958 |
Dependency string | zombieseatflesh7-DynamicBarrierDecay-1.0.0 |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.2117README
Description
This mod changes how barrier works so that it decays faster with more barrier. Max health no longer has any affect on barrier decay rate. To counteract this buff, max barrier decay has been made twice as fast.
The goal of this mod is to make stacking max health and shields less bad.
Math
Vanilla
Barrier decays at a rate equal to 3.33% of your combined max health and shields per second.
The formula for barrier decay per second is (maxhealth + maxshields) / 30
Improved
Barrier decays at a rate equal to 6.67% of your current barrier per second, with a minimum rate of 1 per second.
The formula for barrier decay per second is max(1, barrier/15)
Barrier has a half-life of ~10 seconds.
Graph
The following graphs show how barrier will decay over time assuming you have max barrier at 240.