Allow bots to manage their own quest log and removed quests based on conditions

This commit is contained in:
Atidot3
2024-08-02 22:45:14 +02:00
parent 234460e298
commit aeae6410f6
3 changed files with 4 additions and 1 deletions

View File

@@ -66,7 +66,6 @@ bool CleanQuestLogAction::Execute(Event event)
uint8 totalQuests = 0;
DropQuestType(totalQuests); //Count the total quests
if (MAX_QUEST_LOG_SIZE - totalQuests > 6)
{
DropQuestType(totalQuests, MAX_QUEST_LOG_SIZE, true, true); //Drop failed quests