Skip to content

Commit

Permalink
LEGACY: KillAura Small Improvement (#2748)
Browse files Browse the repository at this point in the history
- Third-person view now resets when KillAura is disabled and only when AutoF5 option is toggled off.
- KillAura now renders blocking when player is not blocking, ensuring smoother blocking animations.
  • Loading branch information
EclipsesDev committed Apr 9, 2024
1 parent fb8d3fd commit b104199
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,9 @@ object KillAura : Module("KillAura", ModuleCategory.COMBAT, Keyboard.KEY_R) {
attackTickTimes.clear()
attackTimer.reset()
clicks = 0
mc.gameSettings.thirdPersonView = 0

if (autoF5)
mc.gameSettings.thirdPersonView = 0

stopBlocking()
}
Expand Down Expand Up @@ -381,6 +383,9 @@ object KillAura : Module("KillAura", ModuleCategory.COMBAT, Keyboard.KEY_R) {
if (mc.thePlayer.getDistanceToEntityBox(target!!) > range && blockStatus) {
stopBlocking()
return
} else {
if (autoBlock != "Off")
renderBlocking = true
}

// Usually when you butterfly click, you end up clicking two (and possibly more) times in a single tick.
Expand Down

0 comments on commit b104199

Please sign in to comment.