From 0cfc19d890cac15b49433d170a16ae6d56dcfb16 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 5 Oct 2023 00:13:38 +0200 Subject: Added support for burning desert, using the slayer api more, only show slayer features while inside the correct SkyBlock area, add slayer info to debug command --- .../java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni/test') diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt index a50d684de..cfb892f84 100644 --- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt +++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniDebugsAndTests.kt @@ -2,6 +2,7 @@ package at.hannibal2.skyhanni.test import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.data.HypixelData +import at.hannibal2.skyhanni.data.SlayerAPI import at.hannibal2.skyhanni.events.GuiRenderEvent import at.hannibal2.skyhanni.events.LorenzChatEvent import at.hannibal2.skyhanni.events.PlaySoundEvent @@ -227,11 +228,17 @@ class SkyHanniDebugsAndTests { if (LorenzUtils.inDungeons) { builder.append("\n") - builder.append("in dungeon!\n") + builder.append("In dungeon!\n") builder.append(" dungeonFloor: ${DungeonAPI.dungeonFloor}\n") builder.append(" started: ${DungeonAPI.started}\n") builder.append(" inBossRoom: ${DungeonAPI.inBossRoom}\n") } + if (SlayerAPI.hasActiveSlayerQuest()) { + builder.append("\n") + builder.append("Doing slayer!\n") + builder.append(" activeSlayer: ${SlayerAPI.getActiveSlayer()}\n") + builder.append(" isInCorrectArea: ${SlayerAPI.isInCorrectArea}\n") + } } builder.append("```") -- cgit