Merge pull request #231 from yuan227301/master

Quests required for dungeons
This commit is contained in:
Yunfan Li
2024-05-21 14:02:54 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -125,7 +125,7 @@ AiPlayerbot.LimitEnchantExpansion = 1
AiPlayerbot.GearScoreCheck = 0 AiPlayerbot.GearScoreCheck = 0
# Quest that will be completed and rewarded to all random bots # 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 # Randombots will group with nearby bots to do shared quests
AiPlayerbot.RandomBotGroupNearby = 0 AiPlayerbot.RandomBotGroupNearby = 0

View File

@@ -21,6 +21,7 @@ bool AcceptDuelAction::Execute(Event event)
WorldPacket packet(CMSG_DUEL_CANCELLED, 8); WorldPacket packet(CMSG_DUEL_CANCELLED, 8);
packet << flagGuid; packet << flagGuid;
bot->GetSession()->HandleDuelCancelledOpcode(packet); bot->GetSession()->HandleDuelCancelledOpcode(packet);
return false;
} }
WorldPacket packet(CMSG_DUEL_ACCEPTED, 8); WorldPacket packet(CMSG_DUEL_ACCEPTED, 8);