fix(Core/Items): armor type requirement for needing items in LFG grou… (#7523)

- Closes #7467
This commit is contained in:
UltraNix
2021-09-02 10:39:57 +02:00
committed by GitHub
parent fb0c3b4cb2
commit 2f9f95221b
3 changed files with 111 additions and 30 deletions

View File

@@ -817,6 +817,9 @@ struct ItemTemplate
[[nodiscard]] bool IsArmorVellum() const { return Class == ITEM_CLASS_TRADE_GOODS && SubClass == ITEM_SUBCLASS_ARMOR_ENCHANTMENT; }
[[nodiscard]] bool IsConjuredConsumable() const { return Class == ITEM_CLASS_CONSUMABLE && (Flags & ITEM_FLAG_CONJURED); }
[[nodiscard]] bool HasStat(ItemModType stat) const;
[[nodiscard]] bool HasSpellPowerStat() const;
void InitializeQueryData();
};