mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
changing lower bounds of encumbered jump debuff
This commit is contained in:
@@ -656,8 +656,8 @@ open class ActorHumanoid : ActorWithBody, Controllable, Pocketed, Factionable, L
|
||||
get() = actorValue.getAsDouble(AVKey.JUMPPOWER)!! * // base stat
|
||||
(actorValue.getAsDouble(AVKey.JUMPPOWERBUFF) ?: 1.0) * // buffed stat
|
||||
jumpMultByTile * // tile-specific
|
||||
scale.pow(0.25)
|
||||
// ((encumberment / avStrengthNormalised).pow(-1.0/3.0)).coerceIn(0.1, 1.0) // encumbered actors move slower
|
||||
scale.pow(0.25) *
|
||||
// ((encumberment / avStrengthNormalised).pow(-1.0/3.0)).coerceIn(0.48, 1.0) // encumbered actors move slower
|
||||
|
||||
private fun jumpFunc(len: Int, counter: Int): Double {
|
||||
// linear time mode
|
||||
|
||||
Reference in New Issue
Block a user