mirror of https://github.com/kami-blue/client
[refactor] Renamed Aura to KillAura
This commit is contained in:
parent
8560369e64
commit
e9d3330177
|
@ -131,7 +131,7 @@ object AutoOffhand : Module() {
|
|||
private fun checkGapple(): Boolean {
|
||||
val item = mc.player.heldItemMainhand.getItem()
|
||||
return offhandGapple.value
|
||||
&& (checkAura.value && CombatManager.isActiveAndTopPriority(Aura)
|
||||
&& (checkAura.value && CombatManager.isActiveAndTopPriority(KillAura)
|
||||
|| checkWeapon.value && (item is ItemSword || item is ItemAxe)
|
||||
|| (checkCAGapple.value && !offhandCrystal.value) && CombatManager.isOnTopPriority(CrystalAura))
|
||||
}
|
||||
|
|
|
@ -101,7 +101,7 @@ object CombatSetting : Module() {
|
|||
|| pauseForEating.value && mc.player.isHandActive && mc.player.activeItemStack.getItem() is ItemFood && (mc.player.activeHand != EnumHand.OFF_HAND || !ignoreOffhandEating.value)
|
||||
|
||||
|
||||
override fun isActive() = Aura.isActive() || BedAura.isActive() || CrystalAura.isActive() || Surround.isActive()
|
||||
override fun isActive() = KillAura.isActive() || BedAura.isActive() || CrystalAura.isActive() || Surround.isActive()
|
||||
|
||||
init {
|
||||
listener<RenderOverlayEvent> {
|
||||
|
@ -140,7 +140,7 @@ object CombatSetting : Module() {
|
|||
|
||||
private fun updateTarget() {
|
||||
with(CombatManager.getTopModule()) {
|
||||
overrideRange = if (this is Aura) this.range.value else range.value
|
||||
overrideRange = if (this is KillAura) this.range.value else range.value
|
||||
}
|
||||
|
||||
getTargetList().let {
|
||||
|
@ -222,7 +222,7 @@ object CombatSetting : Module() {
|
|||
|
||||
private fun shouldIgnoreWall(): Boolean {
|
||||
val module = CombatManager.getTopModule()
|
||||
return if (module is Aura || module is AimBot) ignoreWalls.value
|
||||
return if (module is KillAura || module is AimBot) ignoreWalls.value
|
||||
else true
|
||||
}
|
||||
|
||||
|
|
|
@ -17,13 +17,13 @@ import net.minecraftforge.fml.common.gameevent.TickEvent
|
|||
|
||||
@CombatManager.CombatModule
|
||||
@Module.Info(
|
||||
name = "Aura",
|
||||
alias = ["KA", "KillAura", "TriggerBot"],
|
||||
name = "KillAura",
|
||||
alias = ["KA", "Aura", "TriggerBot"],
|
||||
category = Module.Category.COMBAT,
|
||||
description = "Hits entities around you",
|
||||
modulePriority = 50
|
||||
)
|
||||
object Aura : Module() {
|
||||
object KillAura : Module() {
|
||||
private val delayMode = register(Settings.e<WaitMode>("Mode", WaitMode.DELAY))
|
||||
private val multi = register(Settings.b("Multi", false))
|
||||
private val lockView = register(Settings.booleanBuilder("LockView").withValue(false).withVisibility { !multi.value })
|
Loading…
Reference in New Issue