mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-06 12:17:47 +00:00
[Bot initialization] Neck level check
This commit is contained in:
@@ -1486,6 +1486,9 @@ void PlayerbotFactory::InitEquipment(bool incremental)
|
|||||||
if (slot == EQUIPMENT_SLOT_TABARD || slot == EQUIPMENT_SLOT_BODY)
|
if (slot == EQUIPMENT_SLOT_TABARD || slot == EQUIPMENT_SLOT_BODY)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (slot == EQUIPMENT_SLOT_NECK && level < 40)
|
||||||
|
continue;
|
||||||
|
|
||||||
std::vector<uint32>& ids = items[slot];
|
std::vector<uint32>& ids = items[slot];
|
||||||
if (ids.empty())
|
if (ids.empty())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user