From 1acae602ec686f76026a2a4b049e04db7a9c3de5 Mon Sep 17 00:00:00 2001 From: mostlikely4r Date: Thu, 14 Dec 2023 22:14:04 +0100 Subject: [PATCH] -Repair improvement: Bots now check for upgrades after repairing. --- playerbot/strategy/actions/RepairAllAction.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playerbot/strategy/actions/RepairAllAction.cpp b/playerbot/strategy/actions/RepairAllAction.cpp index 626f9bb58..a00fbfeaf 100644 --- a/playerbot/strategy/actions/RepairAllAction.cpp +++ b/playerbot/strategy/actions/RepairAllAction.cpp @@ -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("death count")->Set(0);