From 92333ea57caf08294a9d0049976c42fe07e4acbe Mon Sep 17 00:00:00 2001 From: Cow Date: Fri, 14 Oct 2022 14:52:12 +0200 Subject: Removed outdated time penalty from dungeons overlay Time score is no longer reduced after 20 minutes, instead there are now floor-based time limits --- CHANGELOG.md | 3 ++- .../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 SHIFT to switch between Fandom and official wiki; default wiki key: I = info) - item prices: replaced stonks.gg with sky.coflnet.com (default key: P = 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 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; -- cgit