menu entry swapper: add dark mage repairs swap
This commit is contained in:
@@ -112,6 +112,16 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "swapDarkMage",
|
||||||
|
name = "Repairs",
|
||||||
|
description = "Swap Talk-to with Repairs for Dark Mage"
|
||||||
|
)
|
||||||
|
default boolean swapDarkMage()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "swapDecant",
|
keyName = "swapDecant",
|
||||||
name = "Decant",
|
name = "Decant",
|
||||||
|
|||||||
@@ -354,6 +354,11 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swap("exchange", option, target, true);
|
swap("exchange", option, target, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config.swapDarkMage())
|
||||||
|
{
|
||||||
|
swap("repairs", option, target, true);
|
||||||
|
}
|
||||||
|
|
||||||
// make sure assignment swap is higher priority than trade swap for slayer masters
|
// make sure assignment swap is higher priority than trade swap for slayer masters
|
||||||
if (config.swapAssignment())
|
if (config.swapAssignment())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user