diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-11 07:50:08 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-02-11 07:50:08 +0100 |
commit | 3280234378b3fea8699be37638ba731514bf973d (patch) | |
tree | c4a9b52376eed423bdac44cce7c836c8fcc0fc74 | |
parent | 1f64f15f8cd4a53b5d970248972a138c5db95655 (diff) | |
download | skyhanni-3280234378b3fea8699be37638ba731514bf973d.tar.gz skyhanni-3280234378b3fea8699be37638ba731514bf973d.tar.bz2 skyhanni-3280234378b3fea8699be37638ba731514bf973d.zip |
Renamed area mini bosses to area boss.
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | FEATURES.md | 4 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java | 15 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt | 8 |
4 files changed, 15 insertions, 15 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index d8fc9b60c..196293292 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,8 @@ + Made **blaze slayer clear view** work with more particles. + Added colors for the missing slayer area bosses (Golden Ghoul, Old Wolf and Spider Keeper) + Added Arachne keeper highlighter. -+ Added area mini bosses spawn timer. ++ Added area boss highlighter. ++ Added area boss spawn timer. + Added Corleone highlighter. + Added **Tps Display** - Show the Tps of the current server. + Added Kuudra Key Number overlay. diff --git a/FEATURES.md b/FEATURES.md index ffdd815c0..ba468fe7b 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -151,8 +151,8 @@ ## Mobs + Arachne keeper highlighter. -+ Area mini boss highlighter. -+ Area mini boss spawn timer. ++ Area boss highlighter. ++ Area boss spawn timer. + Corleone highlighter. + Zealots, Bruisers and Special Zealot highlighter. - Highlight corrupted mobs. diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java b/src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java index 9becb348e..eb78ddb53 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java @@ -10,24 +10,23 @@ public class Mobs { @Expose @ConfigOption( - name = "Area Mini Bosses", - desc = "Special mobs in slayer regions that have way more hp than normal mobs:" + - "\nGolden Ghoul, Old Wolf, Voidling Extremist and Millenia-Aged Blaze" + name = "Area Boss", + desc = "Golden Ghoul, Old Wolf, Voidling Extremist and Millenia-Aged Blaze" ) @ConfigEditorAccordion(id = 0) - public boolean areaMiniBosses = false; + public boolean areaBosses = false; @Expose - @ConfigOption(name = "Highlight Mini Bosses", desc = "Highlight area mini bosses") + @ConfigOption(name = "Highlight Area Boss", desc = "Highlight area boss.") @ConfigEditorBoolean @ConfigAccordionId(id = 0) - public boolean areaMiniBossesHighlight = true; + public boolean areaBossHighlight = true; @Expose - @ConfigOption(name = "Mini Bosses Respawn Timer", desc = "Show a timer when area mini bosses spawn.") + @ConfigOption(name = "Area Bosses Respawn Timer", desc = "Show a timer when the area boss spawns.") @ConfigEditorBoolean @ConfigAccordionId(id = 0) - public boolean areaMinisBossesRespawnTimer = false; + public boolean areaBossRespawnTimer = false; @Expose @ConfigOption(name = "Corrupted Mob Highlight", desc = "Highlight corrupted mobs in purple color.") diff --git a/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt index 7866c3b45..163563981 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt @@ -43,11 +43,11 @@ class AreaMiniBossFeatures { } lastTime = time - if (SkyHanniMod.feature.mobs.areaMiniBossesHighlight) { + if (SkyHanniMod.feature.mobs.areaBossHighlight) { val color = bossType.color.toColor().withAlpha(bossType.colorOpacity) RenderLivingEntityHelper.setEntityColor(entity, color) - { SkyHanniMod.feature.mobs.areaMiniBossesHighlight } - RenderLivingEntityHelper.setNoHurtTime(entity) { SkyHanniMod.feature.mobs.areaMiniBossesHighlight } + { SkyHanniMod.feature.mobs.areaBossHighlight } + RenderLivingEntityHelper.setNoHurtTime(entity) { SkyHanniMod.feature.mobs.areaBossHighlight } } // TODO add sound @@ -57,7 +57,7 @@ class AreaMiniBossFeatures { @SubscribeEvent fun onRenderWorld(event: RenderWorldLastEvent) { if (!LorenzUtils.inSkyBlock) return - if (!SkyHanniMod.feature.mobs.areaMinisBossesRespawnTimer) return + if (!SkyHanniMod.feature.mobs.areaBossRespawnTimer) return miniBossType?.apply { val time = getTime() |