mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
major class spells
This commit is contained in:
@@ -461,11 +461,11 @@ bool StoreLootAction::IsLootAllowed(uint32 itemid, PlayerbotAI* botAI)
|
||||
{
|
||||
if (quest->RequiredItemId[i] == itemid)
|
||||
{
|
||||
if (AI_VALUE2(uint32, "item count", proto->Name1) < quest->RequiredItemCount[i])
|
||||
{
|
||||
if (botAI->GetMaster() && sPlayerbotAIConfig->syncQuestWithPlayer)
|
||||
return false; //Quest is autocomplete for the bot so no item needed.
|
||||
}
|
||||
// if (AI_VALUE2(uint32, "item count", proto->Name1) < quest->RequiredItemCount[i])
|
||||
// {
|
||||
// if (botAI->GetMaster() && sPlayerbotAIConfig->syncQuestWithPlayer)
|
||||
// return false; //Quest is autocomplete for the bot so no item needed.
|
||||
// }
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user