mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-02-02 10:33:48 +00:00
Filter out normal class "book" recipes
This commit is contained in:
@@ -299,6 +299,14 @@ void AuctionHouseBot::populateItemCandidateList()
|
|||||||
continue;
|
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
|
// Disable anything with the string literal of a testing or depricated item
|
||||||
if (DisabledItemTextFilter == true &&
|
if (DisabledItemTextFilter == true &&
|
||||||
(itr->second.Name1.find("Test ") != std::string::npos ||
|
(itr->second.Name1.find("Test ") != std::string::npos ||
|
||||||
|
|||||||
Reference in New Issue
Block a user