@@ -94,12 +94,6 @@ object KillAura : Module() {
94
94
// Range
95
95
val rangeValue = FloatValue (" Range" , 3.7f , 0f , 8f ).displayable { attackDisplay.get() }
96
96
97
- private val groundRangeValue = FloatValue (" GroundRange" , 3.2f , 0f , 8f ).displayable { HuaYuTingRange .get() && airBypass.get() }
98
-
99
- private val airRangeValue = FloatValue (" AirRange" , 3.1f , 0f , 8f ).displayable { HuaYuTingRange .get() && airBypass.get() }
100
-
101
- private val noMoveRangeValue = FloatValue (" NoMoveRange" , 3.0f , 0f , 8f ).displayable { HuaYuTingRange .get() && noMoveRangeFix.get() }
102
-
103
97
private val throughWallsRangeValue = object : FloatValue (" ThroughWallsRange" , 1.5f , 0f , 8f ) {
104
98
override fun onChanged (oldValue : Float , newValue : Float ) {
105
99
val i = rangeValue.get()
@@ -116,11 +110,6 @@ object KillAura : Module() {
116
110
private val noEat = BoolValue (" NoEat" , true ).displayable { attackDisplay.get() }
117
111
private val noBlocking = BoolValue (" NoBlocking" , false ).displayable { attackDisplay.get() }
118
112
119
- private val HuaYuTingRange = BoolValue (" HuaYuTingRange Options:" , true )
120
- private val airBypass = BoolValue (" AirRange" ,true ).displayable { HuaYuTingRange .get() }
121
- private val noMoveRangeFix = BoolValue (" NoMoveRangeFix" ,true ).displayable { HuaYuTingRange .get() }
122
- private val stopSprintAir = BoolValue (" StopSprintOnAir" ,true ).displayable { HuaYuTingRange .get() }
123
-
124
113
// Bypass
125
114
private val swingValue = ListValue (" Swing" , arrayOf(" Normal" , " Packet" , " None" ), " Normal" ).displayable { attackDisplay.get() }
126
115
private val attackTimingValue = ListValue (" AttackTiming" , arrayOf(" All" , " Pre" , " Post" ), " All" ).displayable { attackDisplay.get() }
@@ -386,13 +375,6 @@ object KillAura : Module() {
386
375
*/
387
376
@EventTarget
388
377
fun onMotion (event : MotionEvent ) {
389
- if (stopSprintAir.get()) {
390
- if (mc.thePlayer!! .onGround) {
391
- keepSprintValue.set(true )
392
- } else {
393
- keepSprintValue.set(false )
394
- }
395
- }
396
378
if (event.eventState == EventState .POST ) {
397
379
packetSent = false
398
380
}
@@ -440,16 +422,6 @@ object KillAura : Module() {
440
422
*/
441
423
@EventTarget
442
424
fun onUpdate (ignoredEvent : UpdateEvent ) {
443
- if ((! noMoveRangeFix.get() || MovementUtils .isMoving()) && airBypass.get()) {
444
- if (mc.thePlayer!! .onGround) {
445
- if (rangeValue.get() != groundRangeValue.get()) rangeValue.set(groundRangeValue.get())
446
- } else {
447
- if (rangeValue.get() != airRangeValue.get()) rangeValue.set(airRangeValue.get())
448
- }
449
- }
450
- if (! MovementUtils .isMoving() && noMoveRangeFix.get() && rangeValue.get() != noMoveRangeValue.get()) {
451
- rangeValue.set(noMoveRangeValue.get())
452
- }
453
425
if (clickOnly.get() && ! mc.gameSettings.keyBindAttack.isKeyDown) return
454
426
455
427
if (cancelRun) {
0 commit comments