mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 09:07:19 +00:00
Disable test items
This commit is contained in:
@@ -967,15 +967,6 @@ void RandomItemMgr::BuildItemInfoCache()
|
||||
if (!proto)
|
||||
continue;
|
||||
|
||||
// skip non armor/weapon
|
||||
if (proto->Class != ITEM_CLASS_WEAPON && proto->Class != ITEM_CLASS_ARMOR &&
|
||||
proto->Class != ITEM_CLASS_CONTAINER && proto->Class != ITEM_CLASS_PROJECTILE &&
|
||||
proto->Class != ITEM_CLASS_GEM)
|
||||
continue;
|
||||
|
||||
// if (!CanEquipItemNew(proto))
|
||||
// continue;
|
||||
|
||||
// skip test items
|
||||
if (strstr(proto->Name1.c_str(), "(Test)") || strstr(proto->Name1.c_str(), "(TEST)") ||
|
||||
strstr(proto->Name1.c_str(), "(test)") || strstr(proto->Name1.c_str(), "(JEFFTEST)") ||
|
||||
|
||||
Reference in New Issue
Block a user