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