mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix bots dropping quests that are green (#723)
This commit is contained in:
@@ -118,7 +118,7 @@ bool CleanQuestLogAction::Execute(Event event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check if the quest is trivial (grey) for the bot
|
// 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
|
// Output only if "debug rpg" strategy is enabled
|
||||||
if (botAI->HasStrategy("debug rpg", BotState::BOT_STATE_COMBAT))
|
if (botAI->HasStrategy("debug rpg", BotState::BOT_STATE_COMBAT))
|
||||||
|
|||||||
Reference in New Issue
Block a user