[MIscs] Equips, avoid aoe tell

This commit is contained in:
Yunfan Li
2024-06-23 17:44:30 +08:00
parent 51a88063f8
commit 73be6fe119
3 changed files with 16 additions and 10 deletions

View File

@@ -1431,11 +1431,14 @@ void PlayerbotFactory::InitEquipment(bool incremental)
if (level < 40 && (slot == EQUIPMENT_SLOT_TRINKET1 || slot == EQUIPMENT_SLOT_TRINKET2))
continue;
if (level < 25 && slot == EQUIPMENT_SLOT_NECK)
if (level < 30 && slot == EQUIPMENT_SLOT_NECK)
continue;
if (level < 25 && slot == EQUIPMENT_SLOT_HEAD)
continue;
if (level < 20 && (slot == EQUIPMENT_SLOT_FINGER1 || slot == EQUIPMENT_SLOT_FINGER2))
continue;
uint32 desiredQuality = itemQuality;
if (urand(0, 100) < 100 * sPlayerbotAIConfig->randomGearLoweringChance && desiredQuality > ITEM_QUALITY_NORMAL) {