From 956a6fb7b8b34708a9f3d77e298da8ca261b1948 Mon Sep 17 00:00:00 2001 From: liquidsquid1 <151129309+liquidsquid1@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:05:52 +0000 Subject: [PATCH] feat(telly): aim on tower --- .../scaffold/techniques/normal/ScaffoldTellyFeature.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/world/scaffold/techniques/normal/ScaffoldTellyFeature.kt b/src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/world/scaffold/techniques/normal/ScaffoldTellyFeature.kt index ca4446db824..6b1f6f5f829 100644 --- a/src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/world/scaffold/techniques/normal/ScaffoldTellyFeature.kt +++ b/src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/world/scaffold/techniques/normal/ScaffoldTellyFeature.kt @@ -42,7 +42,10 @@ import net.ccbluex.liquidbounce.utils.entity.moving object ScaffoldTellyFeature : ToggleableConfigurable(ScaffoldNormalTechnique, "Telly", false) { val doNotAim: Boolean - get() = player.airTicks <= straightTicks && ticksUntilJump >= jumpTicks + get() = player.airTicks <= straightTicks && + ticksUntilJump >= jumpTicks && + !(ModuleScaffold.isTowering && aimOnTower) + // New val to determine if the player is telly bridging val isTellyBridging: Boolean @@ -53,6 +56,7 @@ object ScaffoldTellyFeature : ToggleableConfigurable(ScaffoldNormalTechnique, "T val resetMode by enumChoice("ResetMode", Mode.RESET) private val straightTicks by int("Straight", 0, 0..5, "ticks") private val jumpTicksOpt by intRange("Jump", 0..0, 0..10, "ticks") + private val aimOnTower by boolean("AimOnTower", true) private var jumpTicks = jumpTicksOpt.random() @Suppress("unused")