From 9c33837c8f15f94edce9a0e50e4ab27c0c2e883c Mon Sep 17 00:00:00 2001 From: Atidot3 Date: Tue, 13 Aug 2024 20:19:44 +0200 Subject: [PATCH] Missing packet turn in query quest handler --- src/strategy/actions/WorldPacketActionContext.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/strategy/actions/WorldPacketActionContext.h b/src/strategy/actions/WorldPacketActionContext.h index 03f480fe..947b4826 100644 --- a/src/strategy/actions/WorldPacketActionContext.h +++ b/src/strategy/actions/WorldPacketActionContext.h @@ -78,6 +78,7 @@ public: creators["quest update failed"] = &WorldPacketActionContext::quest_update_failed; creators["quest update failed timer"] = &WorldPacketActionContext::quest_update_failed_timer; creators["quest update complete"] = &WorldPacketActionContext::quest_update_complete; + creators["turn in query quest"] = &WorldPacketActionContext::turn_in_query_quest; creators["party command"] = &WorldPacketActionContext::party_command; creators["tell cast failed"] = &WorldPacketActionContext::tell_cast_failed; @@ -144,7 +145,7 @@ private: static Action* confirm_quest(PlayerbotAI* ai) { return new ConfirmQuestAction(ai); } static Action* accept_all_quests(PlayerbotAI* botAI) { return new AcceptAllQuestsAction(botAI); } static Action* accept_quest_share(PlayerbotAI* botAI) { return new AcceptQuestShareAction(botAI); } - //static Action* turn_in_query_quest(PlayerbotAI* botAI) { return new TurnInQueryQuestAction(botAI); } + static Action* turn_in_query_quest(PlayerbotAI* botAI) { return new TurnInQueryQuestAction(botAI); } //static Action* quest_confirm_accept(PlayerbotAI* botAI) { return new QuestConfirmAcceptAction(botAI); } static Action* loot_roll(PlayerbotAI* botAI) { return new LootRollAction(botAI); }