Skip to content

Commit

Permalink
feat: add takeMicroBreakByChance
Browse files Browse the repository at this point in the history
  • Loading branch information
g-mason0 committed Dec 31, 2024
1 parent f311d43 commit 99eac4b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public boolean run() {
Rs2Dialogue.clickCombinationOption(plugin.getJewelry().getGem().getUncutItemName());
sleepUntil(Rs2Player::isAnimating);
Rs2Antiban.actionCooldown();
Rs2Antiban.takeMicroBreakByChance();
Rs2Bank.preHover();
break;
case BANKING:
Expand Down Expand Up @@ -319,6 +320,7 @@ public boolean run() {
sleepUntilTrue(() -> Rs2Widget.isGoldCraftingWidgetOpen() || Rs2Widget.isSilverCraftingWidgetOpen(), 500, 20000);
Rs2Widget.clickWidget(plugin.getJewelry().getItemName());
Rs2Antiban.actionCooldown();
Rs2Antiban.takeMicroBreakByChance();
break;
case ALCHING:
if (!Rs2Equipment.hasEquipped(staffItemID)) {
Expand Down

0 comments on commit 99eac4b

Please sign in to comment.