Skip to content

Commit

Permalink
Feat. Only Quality normal (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
pangolp authored Jun 24, 2023
1 parent 2e658d2 commit b788a4b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/quest_loot_party.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ class PlayerLootParty : public PlayerScript
{
if (sConfigMgr->GetOption<bool>("QuestParty.Enable", false))
{
item.freeforall = true;
ItemTemplate const* itemTemplate = sObjectMgr->GetItemTemplate(item.itemid);

if (itemTemplate->Quality == ITEM_QUALITY_NORMAL)
{
item.freeforall = true;
}
}
}
};
Expand Down

0 comments on commit b788a4b

Please sign in to comment.