mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
portal reagent for mage
This commit is contained in:
@@ -1433,6 +1433,9 @@ void PlayerbotFactory::InitBags()
|
||||
if (!CanEquipUnseenItem(slot, dest, newItemId))
|
||||
continue;
|
||||
|
||||
if (old_bag) {
|
||||
bot->DestroyItem(INVENTORY_SLOT_BAG_0, slot, true);
|
||||
}
|
||||
Item* newItem = bot->EquipNewItem(dest, newItemId, true);
|
||||
if (newItem)
|
||||
{
|
||||
@@ -2421,6 +2424,8 @@ void PlayerbotFactory::InitReagents()
|
||||
break;
|
||||
case CLASS_MAGE:
|
||||
items.push_back({17020, 40});
|
||||
items.push_back({17031, 40}); // portal
|
||||
items.push_back({17032, 40}); // portal
|
||||
// bot->StoreNewItemInBestSlots(17020, 40); // Arcane Powder
|
||||
break;
|
||||
case CLASS_DRUID:
|
||||
|
||||
Reference in New Issue
Block a user