diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/EffectTimersConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/EffectTimersConfig.java index 7e5c7201e4..77dc5b8d36 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/EffectTimersConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/EffectTimersConfig.java @@ -121,11 +121,22 @@ public interface EffectTimersConfig extends Config return true; } + @ConfigItem( + name = "SOTD Timers", + keyName = "sotdTimers", + description = "Should we render staff of the dead timers?", + position = 9 + ) + default boolean sotdTimers() + { + return true; + } + @ConfigItem( name = "Show Icons", keyName = "showIcons", description = "Should we render the icons? Note disabling this will override all colors", - position = 9 + position = 10 ) default boolean showIcons() { @@ -136,7 +147,7 @@ public interface EffectTimersConfig extends Config name = "Debug Keybind", keyName = "debugKeybind", description = "Don't press this unless you know what it does :)", - position = 10, + position = 11, hidden = true ) default Keybind debugKeybind() @@ -148,7 +159,7 @@ public interface EffectTimersConfig extends Config name = "Debug Integer", keyName = "debugInteger", description = "Related to the keybind in some way :)", - position = 11, + position = 12, hidden = true ) default int debugInteger() @@ -160,7 +171,7 @@ public interface EffectTimersConfig extends Config name = "X Offset", keyName = "xOffset", description = "X Offset for overlay rendering", - position = 12 + position = 13 ) default int xOffset() { diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/PlayerSpellEffect.java b/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/PlayerSpellEffect.java index c59743a4ba..8d1aa7d2f9 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/PlayerSpellEffect.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/PlayerSpellEffect.java @@ -40,7 +40,8 @@ public enum PlayerSpellEffect BARRAGE("Ice Barrage", 369, 32, false, TimerType.FREEZE), TELEBLOCK("Teleblock", 345, 500, true, TimerType.TELEBLOCK), VENG("Vengeance", 726, 50, false, TimerType.VENG), - VENG_OTHER("Vengeance Other", 725, 50, false, TimerType.VENG); + VENG_OTHER("Vengeance Other", 725, 50, false, TimerType.VENG), + STAFF_OF_THE_DEAD("Staff of the Dead", 1288, 100, false, TimerType.SOTD); @Getter(AccessLevel.PACKAGE) private final String name; diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/TimerType.java b/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/TimerType.java index 508e65bcf4..81a1cd44b4 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/TimerType.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/effecttimers/TimerType.java @@ -37,7 +37,8 @@ public enum TimerType { FREEZE(5, loadImage("freeze"), loadImage("freezeimmune"), "freezeTimers", Color.CYAN), // 3 seconds TELEBLOCK(100, loadImage("teleblock"), loadImage("teleblockimmune"), "teleblockTimers", new Color(0x5254ae)), // this is 60 seconds, might be wrong - VENG(0, loadImage("veng"), null, "vengTimers", Color.RED.brighter()); + VENG(0, loadImage("veng"), null, "vengTimers", Color.RED.brighter()), + SOTD(0, loadImage("sotd"), null, "sotdTimers", Color.YELLOW); private final int immunityLength; private final BufferedImage icon; diff --git a/runelite-client/src/main/resources/net/runelite/client/plugins/effecttimers/sotd.png b/runelite-client/src/main/resources/net/runelite/client/plugins/effecttimers/sotd.png new file mode 100644 index 0000000000..1f4453cbe0 Binary files /dev/null and b/runelite-client/src/main/resources/net/runelite/client/plugins/effecttimers/sotd.png differ