Bug Issues with maximiser command

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:
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");
  }
}
 

eegee

Member
Mafia is blocking the maximiser from folding a "makeshift cape" when one already has a "makeshift crane". This also shows up when manually folding,

1694018705419.png
 
Top