Add swap for "Admire" and "Teleport/Spellbook" for mounted capes (#5994)
Add swap that swaps "Admire" with either "Teleport" or "Spellbook" (for magic) for mounted POH skill capes. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -42,6 +42,16 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapAdmire",
|
||||
name = "Admire",
|
||||
description = "Swap Admire with Teleport or Spellbook for mounted skill capes."
|
||||
)
|
||||
default boolean swapAdmire()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapAssignment",
|
||||
name = "Assignment",
|
||||
|
||||
@@ -477,6 +477,11 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
{
|
||||
swap("quick-pass", option, target, true);
|
||||
}
|
||||
else if (config.swapAdmire() && option.equals("admire"))
|
||||
{
|
||||
swap("teleport", option, target, true);
|
||||
swap("spellbook", option, target, true);
|
||||
}
|
||||
else if (config.shiftClickCustomization() && shiftModifier && !option.equals("use"))
|
||||
{
|
||||
Integer customOption = getSwapConfig(itemId);
|
||||
|
||||
Reference in New Issue
Block a user