mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
[Bot initialization] Neck level check
This commit is contained in:
parent
4636b6e5b6
commit
7ecd161310
@ -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())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user