Skip to content

Commit

Permalink
Update KillAura.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Aspw-w committed Jan 5, 2024
1 parent b002a9c commit 9bbb588
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,7 @@ class KillAura : Module() {
if (autoBlockModeValue.get().equals("reblock", true)) {
if (blockingStatus) {
reBlockTimer.update()
if (reBlockTimer.hasTimePassed(10) && !reBlockTimer.hasTimePassed(20)) {
chat("reblock")
if (reBlockTimer.hasTimePassed(15) && !reBlockTimer.hasTimePassed(30)) {
hitable = false
stopBlocking()
if (verusBlocking && !blockingStatus && !mc.thePlayer.isBlocking) {
Expand Down Expand Up @@ -807,8 +806,8 @@ class KillAura : Module() {
* Attack [entity]
*/
private fun attackEntity(entity: EntityLivingBase) {
if (mc.thePlayer!!.getDistanceToEntityBox(entity) >= attackRangeValue.get() || reBlockTimer.hasTimePassed(10) && !reBlockTimer.hasTimePassed(
20
if (mc.thePlayer!!.getDistanceToEntityBox(entity) >= attackRangeValue.get() || reBlockTimer.hasTimePassed(15) && !reBlockTimer.hasTimePassed(
30
)
) return

Expand Down

0 comments on commit 9bbb588

Please sign in to comment.