diff options
author | Cow <cow@volloeko.de> | 2022-10-14 14:52:12 +0200 |
---|---|---|
committer | Cow <cow@volloeko.de> | 2022-10-14 14:52:12 +0200 |
commit | 92333ea57caf08294a9d0049976c42fe07e4acbe (patch) | |
tree | 616e065b3eaa5376f2a130a4b04aa07453fc8668 | |
parent | 544900b1ddcde53cced676a859c2080419ce1a6d (diff) | |
download | Cowlection-92333ea57caf08294a9d0049976c42fe07e4acbe.tar.gz Cowlection-92333ea57caf08294a9d0049976c42fe07e4acbe.tar.bz2 Cowlection-92333ea57caf08294a9d0049976c42fe07e4acbe.zip |
Removed outdated time penalty from dungeons overlay
Time score is no longer reduced after 20 minutes, instead there are now floor-based time limits
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | src/main/java/de/cowtipper/cowlection/listener/skyblock/DungeonsListener.java | 10 |
2 files changed, 4 insertions, 9 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7391669..1612212 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,8 +29,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Updated quick lookup for item prices and wiki: (`/moo config item`) - wiki: also added official wiki (use <kbd>SHIFT</kbd> to switch between Fandom and official wiki; default wiki key: <kbd>I</kbd> = info) - item prices: replaced stonks.gg with sky.coflnet.com (default key: <kbd>P</kbd> = price) -- (technical change: no longer fire `ClientChatReceivedEvent` when sending a mod-internal chat message, as too many other mods have had problems with it) - Party Finder Rules Editor: increased character limit per rule from 32 to 255 +- Dungeons overlay: removed outdated time penalty from overlay due to floor-based scoring +- (technical change: no longer fire `ClientChatReceivedEvent` when sending a mod-internal chat message, as too many other mods have had problems with it) ### Fixed diff --git a/src/main/java/de/cowtipper/cowlection/listener/skyblock/DungeonsListener.java b/src/main/java/de/cowtipper/cowlection/listener/skyblock/DungeonsListener.java index 8adc188..74cd137 100644 --- a/src/main/java/de/cowtipper/cowlection/listener/skyblock/DungeonsListener.java +++ b/src/main/java/de/cowtipper/cowlection/listener/skyblock/DungeonsListener.java @@ -522,6 +522,7 @@ public class DungeonsListener { List<String> btnTooltip = new ArrayList<>(); btnTooltip.add("Open Cowlection's Party Notes Rule Editor"); btnTooltip.add(EnumChatFormatting.GRAY + "Want to remove this button? " + EnumChatFormatting.YELLOW + "/moo config editor"); + btnTooltip.add(EnumChatFormatting.GRAY + "Want to remove the overlay inside dungeons? " + EnumChatFormatting.YELLOW + "/moo config overlay"); GuiHelper.drawHoveringText(btnTooltip, e.mouseX, e.mouseY, mc.displayWidth, mc.displayHeight, 300); GlStateManager.disableLighting(); } @@ -723,15 +724,8 @@ public class DungeonsListener { color = EnumChatFormatting.YELLOW; } dungeonPerformanceEntries.add("Elapsed Minutes: " + color + elapsedMinutes); - if (elapsedMinutes > 15 && elapsedMinutes <= 20) { - dungeonPerformanceEntries.add(EnumChatFormatting.RED + " ⚠ slower than 20 mins = point penalty"); - } else if (elapsedMinutes > 20) { - dungeonPerformanceEntries.add(EnumChatFormatting.GOLD + " Time penalty: " + EnumChatFormatting.RED + ((int) (2.2 * (elapsedMinutes - 20))) + " points"); - } if (!MooConfig.hasOpenedConfigGui) { - dungeonPerformanceEntries.add(EnumChatFormatting.RED + "Want to move me? " + EnumChatFormatting.LIGHT_PURPLE + "/moo config " - + EnumChatFormatting.DARK_GRAY + "➡ " + EnumChatFormatting.WHITE + "SB Dungeons " - + EnumChatFormatting.DARK_GRAY + "➡ " + EnumChatFormatting.WHITE + "Dungeon Performance Overlay"); + dungeonPerformanceEntries.add(EnumChatFormatting.RED + " ⚠ Want to move me? " + EnumChatFormatting.DARK_GRAY + "➡ " + EnumChatFormatting.LIGHT_PURPLE + "/moo config overlay"); } FontRenderer fontRenderer = Minecraft.getMinecraft().fontRendererObj; |