AndrewToaster-Loaders_Heavy_Slam icon

Loaders Heavy Slam

Makes Loader's Thunderslam scale Size, Damage and Knock-Up based on fall speed

Last updated 3 years ago
Total downloads 23409
Total rating 1 
Categories Mods Tweaks Server-side
Dependency string AndrewToaster-Loaders_Heavy_Slam-1.0.2
Dependants 21 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.9 icon
bbepis-BepInExPack

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

Preferred version: 5.4.9
RiskofThunder-HookGenPatcher-1.2.1 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.1
tristanmcpherson-R2API-3.0.44 icon
tristanmcpherson-R2API

A modding API for Risk of Rain 2

Preferred version: 3.0.44

README

Loader's Heavy Slam

Makes the Loader's Thunderslam more satisfying.

What does this mod do ?

It makes Thunderslam's Radius, Damage and Knock-Up Force scale with downwards speed.

How is this calulated ?

By default when Thunderslam is activated you gain -100 velocity in the y axis (i.e. Downwards). When we hit the ground, we take the absolute value of that speed and fed into the formula for calculation.

The Formula

newValue = (value * baseCoefficient) + ((value * baseCoefficient) * (speed / 100) * valueCoefficient)

Where:

  • value = the normal value that would be used (e.g. 210 for damage)
  • speed = the velocity in the y axis (100 for each second falling)
  • valueCoefficient = the coefficient as specified in the config (e.g. 0.478 for damage by default)
  • baseCoefficient = the coefficnet as specified in the config (by default always 1)

Notes:

  • speed may be reduced by the minimal speed if specified in the config

Changelog

1.0.2

  • Added the ability to finish Thunderslam mid-air, highly customizable via configs

1.0.1

1.0.0

  • Initial Release