mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-01-13 09:17:21 +00:00
Filter out normal class "book" recipes
This commit is contained in:
@@ -299,6 +299,14 @@ void AuctionHouseBot::populateItemCandidateList()
|
||||
continue;
|
||||
}
|
||||
|
||||
// Disable normal class 'book' recipies, since they are junk
|
||||
if (itr->second.Class == ITEM_CLASS_RECIPE && itr->second.SubClass == ITEM_SUBCLASS_BOOK && itr->second.Quality <= ITEM_QUALITY_NORMAL)
|
||||
{
|
||||
if (debug_Out_Filters)
|
||||
LOG_ERROR("module", "AuctionHouseBot: Item {} disabled (Normal or lower recipe book)", itr->second.ItemId);
|
||||
continue;
|
||||
}
|
||||
|
||||
// Disable anything with the string literal of a testing or depricated item
|
||||
if (DisabledItemTextFilter == true &&
|
||||
(itr->second.Name1.find("Test ") != std::string::npos ||
|
||||
|
||||
Reference in New Issue
Block a user