Skip to content

Commit

Permalink
-Repair improvement: Bots now check for upgrades after repairing.
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikely4r committed Dec 14, 2023
1 parent 9c52465 commit 1acae60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions playerbot/strategy/actions/RepairAllAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ bool RepairAllAction::Execute(Event& event)
bot->PlayDistanceSound(1116);

sPlayerbotAIConfig.logEvent(ai, "RepairAllAction", to_string(durability), to_string(totalCost));

ai->DoSpecificAction("equip upgrades", event, true);
}

context->GetValue<uint32>("death count")->Set(0);
Expand Down

0 comments on commit 1acae60

Please sign in to comment.