Skip to content

AndrewToaster/LoadersHeavySlam

Repository files navigation

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

  • Added the ability to scale base values (#1)
  • Added particle scaling for speed (can be disabled)

1.0.0

  • Initial Release

About

A Mod to make Loader's Thunderslam feel more satisfying

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages