mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-15 18:00:27 +00:00
warlock and dk strategy port
This commit is contained in:
@@ -222,6 +222,12 @@ std::vector<Item*> InventoryAction::parseItems(std::string const text, IterateIt
|
||||
FindFoodVisitor visitor(bot, 59, text == "conjured drink" || text == "conjured water");
|
||||
IterateItems(&visitor, ITERATE_ITEMS_IN_BAGS);
|
||||
found.insert(visitor.GetResult().begin(), visitor.GetResult().end());
|
||||
|
||||
if (found.empty()) {
|
||||
FindFoodVisitor visitor(bot, 11);
|
||||
IterateItems(&visitor, ITERATE_ITEMS_IN_BAGS);
|
||||
found.insert(visitor.GetResult().begin(), visitor.GetResult().end());
|
||||
}
|
||||
}
|
||||
|
||||
if (text == "mana potion")
|
||||
|
||||
Reference in New Issue
Block a user