made a jump speed boost soft cap formula (commeted out)
idk if we'll actually use it
This commit is contained in:
1 parent
e97590e6e7
commit
5372f480ea
1 file changed
+4
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user