mirror of
https://github.com/pangolp/mod-quest-loot-party.git
synced 2026-02-07 12:51:11 +00:00
Feat. Only Quality normal (#1)
This commit is contained in:
@@ -29,7 +29,12 @@ public:
|
|||||||
{
|
{
|
||||||
if (sConfigMgr->GetOption<bool>("QuestParty.Enable", false))
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user