mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 11:28:25 +00:00
Add loregroup 0 bypass for lore conflicts for bots like clients
This commit is contained in:
+2
-1
@@ -7157,8 +7157,9 @@ void Bot::CalcBotStats(bool showtext) {
|
||||
}
|
||||
|
||||
bool Bot::CheckLoreConflict(const EQ::ItemData* item) {
|
||||
if (!item || !(item->LoreFlag))
|
||||
if (!item || !(item->LoreFlag) || (item->LoreGroup == 0)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (item->LoreGroup == -1) // Standard lore items; look everywhere except the shared bank, return the result
|
||||
return (m_inv.HasItem(item->ID, 0, invWhereWorn) != INVALID_INDEX);
|
||||
|
||||
Reference in New Issue
Block a user