You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/kotlin/com/lambda/module/modules/movement/elytrafly/ElytraFly.kt
+20-19Lines changed: 20 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ object ElytraFly : Module(
58
58
privateval boostSpeed by setting("Boost", 0.0, 0.0..0.5, 0.005, description ="Speed to add when flying")
59
59
privateval rocketSpeed by setting("Rocket Speed", 1.0, 0.0..2.0, 0.01, description ="Speed multiplier that the rocket gives you")
60
60
privateval angledRocketBoost by setting("Angled Rocket Boost", true, description ="Automatically scale the firework rocket boost based on your pitch angle")
61
-
privateval maxAngledBoost by setting("Max Angled Boost", 0.75, 0.0..5.0, 0.05, description ="Additional speed added on top of your base rocket speed when flying diagonally at exactly 45 degrees") { angledRocketBoost }
61
+
privateval maxAngledBoost by setting("Max Angled Boost", 0.75, 0.0..5.0, 0.01, description ="Additional speed added on top of your base rocket speed when flying diagonally at exactly 45 degrees") { angledRocketBoost }
62
62
privateval mute by setting("Mute Elytra", false, "Mutes the elytra sound when gliding")
63
63
@JvmStatic val fakeFly by setting("Fake Fly", false, "Rapidly swaps the chestplate and elytra to give the appearance the player is flying without an elytra. May also reduce durability loss")
64
64
@@ -106,27 +106,28 @@ object ElytraFly : Module(
106
106
}
107
107
108
108
@JvmStatic
109
-
funboostRocket() = runSafe {
110
-
val rot =RotationManager.activeRotation
111
-
112
-
var targetSpeed =1.5* rocketSpeed
113
-
if (angledRocketBoost) {
114
-
val scale = sin(Math.toRadians(abs(rot.pitch) *2.0))
0 commit comments