mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
refresh initequipment quality
This commit is contained in:
@@ -1293,7 +1293,7 @@ bool PlayerbotFactory::IsDesiredReplacement(Item* item)
|
||||
// }
|
||||
|
||||
uint32 delta = 1 + (80 - bot->getLevel()) / 10;
|
||||
return int32(bot->getLevel() - requiredLevel) > delta;
|
||||
return proto->Quality < ITEM_QUALITY_RARE || int32(bot->getLevel() - requiredLevel) > delta;
|
||||
}
|
||||
|
||||
inline Item* StoreNewItemInInventorySlot(Player* player, uint32 newItemId, uint32 count)
|
||||
|
||||
Reference in New Issue
Block a user