[Rules] Add rule to toggle pets accepting quest items (#3533)

* Add rule to disable handing quests items to pets

* Logic tweak

* Tweaks

Updated formatting and minor logic change

* Minor tweaks
This commit is contained in:
Vayle
2023-08-06 15:32:25 -04:00
committed by GitHub
parent aa6421afdf
commit 3a46bf7383
4 changed files with 29 additions and 9 deletions
+4
View File
@@ -230,6 +230,10 @@ bool EQ::ItemData::IsTypeShield() const
return (ItemType == item::ItemTypeShield);
}
bool EQ::ItemData::IsQuestItem() const {
return QuestItemFlag;
}
bool EQ::ItemData::CheckLoreConflict(const ItemData* l_item, const ItemData* r_item)
{
if (!l_item || !r_item)