From 0d04a67d87f2fc98958c1f2fd81c449e09237ab7 Mon Sep 17 00:00:00 2001 From: yang <2101461382@qq.com> Date: Mon, 20 May 2024 13:56:46 +0800 Subject: [PATCH 1/2] [Configuration] Quests required for dungeons --- conf/playerbots.conf.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/playerbots.conf.dist b/conf/playerbots.conf.dist index 213f08ef..97b6707f 100644 --- a/conf/playerbots.conf.dist +++ b/conf/playerbots.conf.dist @@ -125,7 +125,7 @@ AiPlayerbot.LimitEnchantExpansion = 1 AiPlayerbot.GearScoreCheck = 0 # Quest that will be completed and rewarded to all random bots -AiPlayerbot.RandomBotQuestIds = "7848,3802,5505,6502,7761" +AiPlayerbot.RandomBotQuestIds = "7848,3802,5505,6502,7761,10277,10285,11492,24499,24511,24710,24712" # Randombots will group with nearby bots to do shared quests AiPlayerbot.RandomBotGroupNearby = 0 From 85ebb48af14c91276926f0777eb3d9bd0b41605a Mon Sep 17 00:00:00 2001 From: yang <2101461382@qq.com> Date: Mon, 20 May 2024 13:59:00 +0800 Subject: [PATCH 2/2] [Fixed] Missing return --- src/strategy/actions/AcceptDuelAction.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/strategy/actions/AcceptDuelAction.cpp b/src/strategy/actions/AcceptDuelAction.cpp index a48c9d5d..8c41378b 100644 --- a/src/strategy/actions/AcceptDuelAction.cpp +++ b/src/strategy/actions/AcceptDuelAction.cpp @@ -21,6 +21,7 @@ bool AcceptDuelAction::Execute(Event event) WorldPacket packet(CMSG_DUEL_CANCELLED, 8); packet << flagGuid; bot->GetSession()->HandleDuelCancelledOpcode(packet); + return false; } WorldPacket packet(CMSG_DUEL_ACCEPTED, 8);