You are viewing a potentially older version of this package. View all versions.
zombieseatflesh7-DynamicBarrierDecay-1.0.0 icon

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

tristanmcpherson-R2API-5.0.5 icon
tristanmcpherson-R2API

A modding API for Risk of Rain 2

Preferred version: 5.0.5
bbepis-BepInExPack-5.4.2117 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2117
RiskofThunder-HookGenPatcher-1.2.5 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.5

README

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.

Vanilla

old

Improved

old