Fix bots dropping quests that are green (#723)

This commit is contained in:
Revision
2024-11-16 23:14:46 +01:00
committed by GitHub
parent 535996f5a4
commit 16470e2232

View File

@@ -118,7 +118,7 @@ bool CleanQuestLogAction::Execute(Event event)
}
// Check if the quest is trivial (grey) for the bot
if ((botLevel - questLevel) >= trivialLevel)
if ((botLevel - questLevel) > trivialLevel)
{
// Output only if "debug rpg" strategy is enabled
if (botAI->HasStrategy("debug rpg", BotState::BOT_STATE_COMBAT))