Skip to content

Commit

Permalink
fix: veruscombat disabler not resetting correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
opZywl committed Dec 7, 2024
1 parent 02b8835 commit d3458e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ object Velocity : Module("Velocity", Category.COMBAT, hideModule = false) {
}

if (mode == "Vulcan") {
if (Disabler.handleEvents() && (Disabler.verusCombat || Disabler.verusCombat && !Disabler.isOnCombat)) return
if (Disabler.handleEvents() && Disabler.verusCombat && (!Disabler.onlyCombat || Disabler.isOnCombat)) return

if (packet is S32PacketConfirmTransaction) {
event.cancelEvent()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ object Disabler : Module("Disabler", Category.EXPLOIT, hideModule = false) {
val verusFly by boolean("VerusFly", false)

val verusCombat by boolean("VerusCombat", false)
private val onlyCombat by boolean("OnlyCombat", true) { verusCombat }
val onlyCombat by boolean("OnlyCombat", true) { verusCombat }

val intaveFly by boolean("intaveFly", false)
private var shouldDelay = false
Expand Down Expand Up @@ -280,6 +280,7 @@ object Disabler : Module("Disabler", Category.EXPLOIT, hideModule = false) {
)
transaction = !transaction
}
isOnCombat = false
}
}

Expand Down

0 comments on commit d3458e4

Please sign in to comment.