Skip to content

Commit 7a7a84f

Browse files
committed
LongJump Rewrite
1 parent 84b2d9c commit 7a7a84f

File tree

1 file changed

+4
-4
lines changed
  • src/main/kotlin/com/lambda/client/module/modules/movement

1 file changed

+4
-4
lines changed

Diff for: src/main/kotlin/com/lambda/client/module/modules/movement/LongJump.kt

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ object LongJump : Module(
2929

3030
private val mode by setting("Mode", Mode.STANDARD, description = "How to boost your motion")
3131
private var speed by setting("Speed", 3.8, 0.0..10.0, 0.001, description = "How much to boost your initial motion")
32-
33-
private val virtue by setting("Glide", false, description = "Glide along the ground after jumping") // reasonably major 2014 exploit, works on UpdatedNCP in 2023
32+
private val virtue by setting("Glide", false, description = "Glide along the ground after jumping") // extends the boost from LJ. reasonably major 2014 exploit, works on UpdatedNCP in 2023
33+
private val applyPots by setting("Apply Speed Pots", true, description = "Whether to apply Speed potion effect") // sometimes we don't want to due to some arbitrary top speed
3434

3535
enum class Mode(override val displayName: String) : DisplayEnum {
3636
STANDARD("Standard"),
@@ -69,8 +69,8 @@ object LongJump : Module(
6969

7070
safeListener<PlayerMoveEvent> {
7171

72-
val base = applySpeedPotionEffects(.2873)
73-
val adjSpeed = speed * base // this seems to be what future uses so its what people are expecting
72+
val base = if (applyPots) applySpeedPotionEffects(.2873) else .2873
73+
val adjSpeed = speed * base // this seems to be what future does so its what people are expecting
7474
val yaw = calcMoveYaw()
7575

7676
if (player.capabilities.isFlying

0 commit comments

Comments
 (0)