Skip to content

Commit 63f358f

Browse files
committed
removed caura delay check
1 parent 2781a5e commit 63f358f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/src/main/kotlin/com/lambda/module/modules/combat/CrystalAura.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ object CrystalAura : Module(
120120

121121
// player.health + player.absorptionAmount >= placeMinHealth &&
122122
explosionDamage(pos.up(), target, 6.0) >= placeMinDamage &&
123-
explosionDamage(pos.up(), player, 6.0) <= placeMaxSelfDamage &&
123+
explosionDamage(pos.up(), player, 6.0) <= placeMaxSelfDamage
124124
// Checks if the last crystal was set more than [placeDelay] ms ago
125-
placedCrystal.peek()?.second?.plusMillis(placeDelay)?.isBefore(Instant.now()) ?: true
125+
// placedCrystal.lastOrNull()?.second?.plusMillis(placeDelay)?.isBefore(Instant.now()) ?: true
126126
//if (multiPlace) !placedCrystal.any { (crystalPos, _) -> pos.up() == crystalPos } else true
127127
}
128128

0 commit comments

Comments
 (0)