eegee
Member
If "club" is used, then a club will be equipped. But if "-tie, club" then a club will not be equipped with the negative tiebreaker. This is used by another script to equip a club before going seal clubbing.
I spent some time looking through the source code and couldn't find the logic to adjust it. I can provide a unit test that will fail to show the use case:
I spent some time looking through the source code and couldn't find the logic to adjust it. I can provide a unit test that will fail to show the use case:
Java:
@Test
public void clubModifierWorksWithTieBreaker() {
final var cleanups =
new Cleanups(withEquippableItem("lawn dart"));
try (cleanups) {
assertTrue(EquipmentManager.canEquip("lawn dart"), "Can equip lawn dart");
assertTrue(maximize("-tie, club"));
recommendedSlotIs(Slot.WEAPON, "lawn dart");
}
}