aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-22 16:49:07 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-22 16:49:07 +0200
commit9489093b97262162cea25055e988be0410379997 (patch)
tree72305a9a546036593c048dffe28fd05670fd1281
parent7e0e411cad4a7fd779d2679bd69cf7dac6fc22e3 (diff)
downloadskyhanni-9489093b97262162cea25055e988be0410379997.tar.gz
skyhanni-9489093b97262162cea25055e988be0410379997.tar.bz2
skyhanni-9489093b97262162cea25055e988be0410379997.zip
fixed clean end working in f5/m5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
index d10122334..701ef74ee 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt
@@ -71,7 +71,7 @@ class DungeonCleanEnd {
if (lastBossId == -1) return
if (event.entity.entityId != lastBossId) return
- if (event.health <= 0) {
+ if (event.health <= 0.5) {
val dungeonFloor = DungeonAPI.dungeonFloor
LorenzUtils.chat("§eFloor $dungeonFloor done!")
bossDone = true
@@ -121,4 +121,4 @@ class DungeonCleanEnd {
event.move(3, "dungeon.cleanEndF3IgnoreGuardians", "dungeon.cleanEnd.F3IgnoreGuardians")
}
-} \ No newline at end of file
+}