aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-11 07:50:08 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-02-11 07:50:08 +0100
commit3280234378b3fea8699be37638ba731514bf973d (patch)
treec4a9b52376eed423bdac44cce7c836c8fcc0fc74 /src/main
parent1f64f15f8cd4a53b5d970248972a138c5db95655 (diff)
downloadskyhanni-3280234378b3fea8699be37638ba731514bf973d.tar.gz
skyhanni-3280234378b3fea8699be37638ba731514bf973d.tar.bz2
skyhanni-3280234378b3fea8699be37638ba731514bf973d.zip
Renamed area mini bosses to area boss.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Mobs.java15
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/mobs/AreaMiniBossFeatures.kt8
2 files changed, 11 insertions, 12 deletions
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()