menu entry swapper: add dark mage repairs swap

This commit is contained in:
KasparRosin
2018-11-05 02:57:31 +02:00
committed by Adam
parent 41204c9742
commit bf86535468
2 changed files with 15 additions and 0 deletions

View File

@@ -112,6 +112,16 @@ public interface MenuEntrySwapperConfig extends Config
return true;
}
@ConfigItem(
keyName = "swapDarkMage",
name = "Repairs",
description = "Swap Talk-to with Repairs for Dark Mage"
)
default boolean swapDarkMage()
{
return true;
}
@ConfigItem(
keyName = "swapDecant",
name = "Decant",

View File

@@ -354,6 +354,11 @@ public class MenuEntrySwapperPlugin extends Plugin
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
if (config.swapAssignment())
{