mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
[Bot initialization] Neck level check
This commit is contained in:
@@ -1485,6 +1485,9 @@ void PlayerbotFactory::InitEquipment(bool incremental)
|
||||
{
|
||||
if (slot == EQUIPMENT_SLOT_TABARD || slot == EQUIPMENT_SLOT_BODY)
|
||||
continue;
|
||||
|
||||
if (slot == EQUIPMENT_SLOT_NECK && level < 40)
|
||||
continue;
|
||||
|
||||
std::vector<uint32>& ids = items[slot];
|
||||
if (ids.empty())
|
||||
|
||||
Reference in New Issue
Block a user