Skip to content

Commit

Permalink
improve verus
Browse files Browse the repository at this point in the history
  • Loading branch information
Aspw-w committed Jan 6, 2024
1 parent 66a9028 commit ecc458b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import net.aspw.client.event.*
import net.aspw.client.features.module.Module
import net.aspw.client.features.module.ModuleCategory
import net.aspw.client.features.module.ModuleInfo
import net.aspw.client.features.module.impl.combat.KillAura
import net.aspw.client.util.*
import net.aspw.client.util.render.RenderUtils
import net.aspw.client.util.timer.MSTimer
Expand Down Expand Up @@ -754,6 +755,13 @@ class Flight : Module() {
if (GameSettings.isKeyDown(mc.gameSettings.keyBindSneak)) {
mc.gameSettings.keyBindSneak.pressed = false
}
if (Client.moduleManager.getModule(
KillAura::class.java
)!!.state
) {
Client.moduleManager.getModule(KillAura::class.java)!!.state = false
Client.hud.addNotification(Notification("KillAura was disabled!", Notification.Type.WARNING))
}
}

"veruslowhop" -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import net.aspw.client.event.*
import net.aspw.client.features.module.Module
import net.aspw.client.features.module.ModuleCategory
import net.aspw.client.features.module.ModuleInfo
import net.aspw.client.features.module.impl.combat.KillAura
import net.aspw.client.util.ClientUtils
import net.aspw.client.util.MovementUtils
import net.aspw.client.util.PacketUtils
Expand Down Expand Up @@ -280,6 +281,13 @@ class LongJump : Module() {
@EventTarget
fun onUpdate(event: UpdateEvent?) {
if (modeValue.get().equals("verushigh", true)) {
if (Client.moduleManager.getModule(
KillAura::class.java
)!!.state
) {
Client.moduleManager.getModule(KillAura::class.java)!!.state = false
Client.hud.addNotification(Notification("KillAura was disabled!", Notification.Type.WARNING))
}
if (stage < 4 && verusHighTimerValue.get())
mc.timer.timerSpeed = 2f
else mc.timer.timerSpeed = 1f
Expand Down

0 comments on commit ecc458b

Please sign in to comment.