mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-09 18:14:06 +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
|
get() = actorValue.getAsDouble(AVKey.JUMPPOWER)!! * // base stat
|
||||||
(actorValue.getAsDouble(AVKey.JUMPPOWERBUFF) ?: 1.0) * // buffed stat
|
(actorValue.getAsDouble(AVKey.JUMPPOWERBUFF) ?: 1.0) * // buffed stat
|
||||||
jumpMultByTile * // tile-specific
|
jumpMultByTile * // tile-specific
|
||||||
scale.pow(0.25)
|
scale.pow(0.25) *
|
||||||
// ((encumberment / avStrengthNormalised).pow(-1.0/3.0)).coerceIn(0.1, 1.0) // encumbered actors move slower
|
// ((encumberment / avStrengthNormalised).pow(-1.0/3.0)).coerceIn(0.48, 1.0) // encumbered actors move slower
|
||||||
|
|
||||||
private fun jumpFunc(len: Int, counter: Int): Double {
|
private fun jumpFunc(len: Int, counter: Int): Double {
|
||||||
// linear time mode
|
// linear time mode
|
||||||
|
|||||||
Reference in New Issue
Block a user