made a jump speed boost soft cap formula (commeted out)

idk if we'll actually use it
This commit is contained in:
termigator1359 committed 2020-07-03 21:21:59 -04:00
1 parent e97590e6e7
commit 5372f480ea
1 file changed
+4
+4
View File
@@ -3769,6 +3769,10 @@ namespace CalamityMod.CalPlayer
if (player.endurance > 0f)
player.endurance = 1f - (1f / (1f + player.endurance));
// Very similar scaling to damage reduction. Ex. Frog Leg goes from 48% jump speed to 38%
//if (player.jumpSpeedBoost > 0f)
// player.jumpSpeedBoost = (1f - 1f / (1f + (player.jumpSpeedBoost / 10f))) * 10f
if (modPlayer.yharonLore && !CalamityWorld.defiled)
{
if (player.wingTimeMax < 50000)