Core/Items: Implemented ItemLimitCategoryCondition.db2

This commit is contained in:
hondacrx
2018-04-18 19:43:29 -04:00
parent 9b927f8093
commit ef05e1f113
7 changed files with 59 additions and 7 deletions
+1 -1
View File
@@ -903,7 +903,7 @@ namespace Game
}
}
if (limit_newcount > 0 && limit_newcount > limitEntry.Quantity)
if (limit_newcount > 0 && limit_newcount > _player.GetItemLimitCategoryQuantity(limitEntry))
{
GetPlayer().SendEquipError(InventoryResult.ItemUniqueEquippableSocketed, itemTarget);
return;