Makes the Loader's Thunderslam more satisfying.
It makes Thunderslam's Radius, Damage and Knock-Up Force scale with downwards speed.
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.
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
- Added the ability to finish Thunderslam mid-air, highly customizable via configs
- Added the ability to scale base values (#1)
- Added particle scaling for speed (can be disabled)
- Initial Release