mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-01-12 16:58:36 +00:00
Re-enable common weapons and armor
This should be managed by listing proportions anyway. Added some invalid item IDs to purge a few bad items.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -850,7 +850,8 @@ void AuctionHouseBot::PopulateItemCandidatesAndProportions()
|
||||
itr->second.Name1.find("]") != std::string::npos ||
|
||||
itr->second.Name1.find("D'Sak") != std::string::npos ||
|
||||
itr->second.Name1.find("(") != std::string::npos ||
|
||||
itr->second.Name1.find("OLD") != std::string::npos))
|
||||
itr->second.Name1.find("OLD") != std::string::npos ||
|
||||
itr->second.Name1.find("PVP") != std::string::npos))
|
||||
{
|
||||
if (debug_Out_Filters)
|
||||
LOG_ERROR("module", "AuctionHouseBot: Item {} disabled item with a temp or unused item name", itr->second.ItemId);
|
||||
@@ -876,22 +877,6 @@ void AuctionHouseBot::PopulateItemCandidatesAndProportions()
|
||||
continue;
|
||||
}
|
||||
|
||||
// Disable common weapons
|
||||
if (itr->second.Quality == ITEM_QUALITY_NORMAL && itr->second.Class == ITEM_CLASS_WEAPON)
|
||||
{
|
||||
if (debug_Out_Filters)
|
||||
LOG_ERROR("module", "AuctionHouseBot: Item {} disabled common weapon", itr->second.ItemId);
|
||||
continue;
|
||||
}
|
||||
|
||||
// Disable common armor
|
||||
if (itr->second.Quality == ITEM_QUALITY_NORMAL && itr->second.Class == ITEM_CLASS_ARMOR)
|
||||
{
|
||||
if (debug_Out_Filters)
|
||||
LOG_ERROR("module", "AuctionHouseBot: Item {} disabled common non-misc armor", itr->second.ItemId);
|
||||
continue;
|
||||
}
|
||||
|
||||
// Store the item ID
|
||||
ItemCandidatesByItemClassAndQuality[itr->second.Class][itr->second.Quality].push_back(itr->second.ItemId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user