mirror of
https://github.com/pangolp/mod-quest-loot-party.git
synced 2026-01-13 01:08:38 +00:00
feat. Improve the condition on the items (#2)
This commit is contained in:
@@ -31,7 +31,7 @@ public:
|
|||||||
{
|
{
|
||||||
ItemTemplate const* itemTemplate = sObjectMgr->GetItemTemplate(item.itemid);
|
ItemTemplate const* itemTemplate = sObjectMgr->GetItemTemplate(item.itemid);
|
||||||
|
|
||||||
if (itemTemplate->Quality == ITEM_QUALITY_NORMAL)
|
if ((itemTemplate->Quality == ITEM_QUALITY_NORMAL) && (itemTemplate->Class == ITEM_CLASS_QUEST) && (itemTemplate->SubClass == ITEM_SUBCLASS_QUEST) && (itemTemplate->Bonding == BIND_QUEST_ITEM))
|
||||||
{
|
{
|
||||||
item.freeforall = true;
|
item.freeforall = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user