major class spells

This commit is contained in:
Yunfan Li
2023-09-02 22:37:11 +08:00
parent 5f5faf00cd
commit 14b94e20fb
42 changed files with 203 additions and 67 deletions

View File

@@ -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;
}