Skip to content

Commit

Permalink
feat(legacy): killaura activation slot (CCBlueX#5099)
Browse files Browse the repository at this point in the history
  • Loading branch information
EclipsesDev authored Dec 29, 2024
1 parent 42aef35 commit 4b926c9
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ object KillAura : Module("KillAura", Category.COMBAT, Keyboard.KEY_R, hideModule

private val hurtTime by int("HurtTime", 10, 0..10) { !simulateCooldown }

private val activationSlot by boolean("ActivationSlot", false)
private val preferredSlot by int("PreferredSlot", 1, 1..9) { activationSlot }

private val clickOnly by boolean("ClickOnly", false)

// Range
Expand Down Expand Up @@ -1195,6 +1198,9 @@ object KillAura : Module("KillAura", Category.COMBAT, Keyboard.KEY_R, hideModule
!onScaffold && (Scaffold.handleEvents() && (Scaffold.placeRotation != null || currentRotation != null) || Tower.handleEvents() && Tower.isTowering) -> true

!onDestroyBlock && (Fucker.handleEvents() && !Fucker.noHit && Fucker.pos != null || Nuker.handleEvents()) -> true

activationSlot && SilentHotbar.currentSlot != preferredSlot - 1 -> true

else -> false
}

Expand Down

0 comments on commit 4b926c9

Please sign in to comment.