mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +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)
|
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())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user