mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Fix bots dropping quests that are green (#723)
This commit is contained in:
parent
535996f5a4
commit
16470e2232
@ -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))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user