From 9489093b97262162cea25055e988be0410379997 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sun, 22 Oct 2023 16:49:07 +0200 Subject: fixed clean end working in f5/m5 --- .../java/at/hannibal2/skyhanni/features/dungeon/DungeonCleanEnd.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java') 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 +} -- cgit