aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-10 04:45:17 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-03-10 04:45:17 +0100
commitb38820abe55003ff37087bc7edd8fa1214c3cd9d (patch)
tree4ce95494ccbe684589b947672f8926095790bd11 /src/main/java/at/hannibal2/skyhanni
parent3bc1adb54ac139bc9d88595dba20978ef4aabf0d (diff)
downloadskyhanni-b38820abe55003ff37087bc7edd8fa1214c3cd9d.tar.gz
skyhanni-b38820abe55003ff37087bc7edd8fa1214c3cd9d.tar.bz2
skyhanni-b38820abe55003ff37087bc7edd8fa1214c3cd9d.zip
Made Kill Combo chat message hider a separate toggle
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Chat.java6
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Chat.java b/src/main/java/at/hannibal2/skyhanni/config/features/Chat.java
index 35c764116..2175baa2c 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/Chat.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Chat.java
@@ -64,6 +64,12 @@ public class Chat {
@ConfigAccordionId(id = 0)
public boolean powderMining = true;
+ @Expose
+ @ConfigOption(name = "Kill Combo", desc = "Hide messages about the current kill combo from the Grandma Wolf Pet.")
+ @ConfigEditorBoolean
+ @ConfigAccordionId(id = 0)
+ public boolean killCombo = false;
+
//TODO remove
@Expose
@ConfigOption(name = "Others", desc = "Hide other annoying messages.")
diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
index a3289c9e1..1313e45b2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/chat/ChatFilter.kt
@@ -26,8 +26,8 @@ class ChatFilter {
welcome(message) && SkyHanniMod.feature.chat.welcome -> "welcome"
isGuildExp(message) && SkyHanniMod.feature.chat.guildExp -> "guild_exp"
friendJoin(message) && SkyHanniMod.feature.chat.friendJoinLeft -> "friend_join"
+ killCombo(message) && SkyHanniMod.feature.chat.killCombo -> "kill_combo"
- killCombo(message) && SkyHanniMod.feature.chat.others -> "kill_combo"
bazaarAndAHMiniMessages(message) && SkyHanniMod.feature.chat.others -> "bz_ah_minis"
watchdogAnnouncement(message) && SkyHanniMod.feature.chat.others -> "watchdog"
slayer(message) && SkyHanniMod.feature.chat.others -> "slayer"