add sotd timer
This commit is contained in:
@@ -121,11 +121,22 @@ public interface EffectTimersConfig extends Config
|
|||||||
return true;
|
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(
|
@ConfigItem(
|
||||||
name = "Show Icons",
|
name = "Show Icons",
|
||||||
keyName = "showIcons",
|
keyName = "showIcons",
|
||||||
description = "Should we render the icons? Note disabling this will override all colors",
|
description = "Should we render the icons? Note disabling this will override all colors",
|
||||||
position = 9
|
position = 10
|
||||||
)
|
)
|
||||||
default boolean showIcons()
|
default boolean showIcons()
|
||||||
{
|
{
|
||||||
@@ -136,7 +147,7 @@ public interface EffectTimersConfig extends Config
|
|||||||
name = "Debug Keybind",
|
name = "Debug Keybind",
|
||||||
keyName = "debugKeybind",
|
keyName = "debugKeybind",
|
||||||
description = "Don't press this unless you know what it does :)",
|
description = "Don't press this unless you know what it does :)",
|
||||||
position = 10,
|
position = 11,
|
||||||
hidden = true
|
hidden = true
|
||||||
)
|
)
|
||||||
default Keybind debugKeybind()
|
default Keybind debugKeybind()
|
||||||
@@ -148,7 +159,7 @@ public interface EffectTimersConfig extends Config
|
|||||||
name = "Debug Integer",
|
name = "Debug Integer",
|
||||||
keyName = "debugInteger",
|
keyName = "debugInteger",
|
||||||
description = "Related to the keybind in some way :)",
|
description = "Related to the keybind in some way :)",
|
||||||
position = 11,
|
position = 12,
|
||||||
hidden = true
|
hidden = true
|
||||||
)
|
)
|
||||||
default int debugInteger()
|
default int debugInteger()
|
||||||
@@ -160,7 +171,7 @@ public interface EffectTimersConfig extends Config
|
|||||||
name = "X Offset",
|
name = "X Offset",
|
||||||
keyName = "xOffset",
|
keyName = "xOffset",
|
||||||
description = "X Offset for overlay rendering",
|
description = "X Offset for overlay rendering",
|
||||||
position = 12
|
position = 13
|
||||||
)
|
)
|
||||||
default int xOffset()
|
default int xOffset()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -40,7 +40,8 @@ public enum PlayerSpellEffect
|
|||||||
BARRAGE("Ice Barrage", 369, 32, false, TimerType.FREEZE),
|
BARRAGE("Ice Barrage", 369, 32, false, TimerType.FREEZE),
|
||||||
TELEBLOCK("Teleblock", 345, 500, true, TimerType.TELEBLOCK),
|
TELEBLOCK("Teleblock", 345, 500, true, TimerType.TELEBLOCK),
|
||||||
VENG("Vengeance", 726, 50, false, TimerType.VENG),
|
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)
|
@Getter(AccessLevel.PACKAGE)
|
||||||
private final String name;
|
private final String name;
|
||||||
|
|||||||
@@ -37,7 +37,8 @@ public enum TimerType
|
|||||||
{
|
{
|
||||||
FREEZE(5, loadImage("freeze"), loadImage("freezeimmune"), "freezeTimers", Color.CYAN), // 3 seconds
|
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
|
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 int immunityLength;
|
||||||
private final BufferedImage icon;
|
private final BufferedImage icon;
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Reference in New Issue
Block a user