forked from SoDOff-Project/sodoff
fix missing blueprints
This commit is contained in:
parent
25ebba6f65
commit
512348336c
@ -26,8 +26,8 @@ namespace sodoff.Services {
|
||||
ItemId = itemID,
|
||||
Quantity = 0
|
||||
};
|
||||
if (itemData.ItemStatsMap is null && itemData.PossibleStatsMap != null) {
|
||||
// battle item without default stats
|
||||
if (itemData.ItemStatsMap is null && itemData.PossibleStatsMap != null && !itemService.ItemHasCategory(itemData, 651)) {
|
||||
// battle item without default stats, but not blueprints
|
||||
Random random = new Random();
|
||||
int itemTier = random.Next(1, 3);
|
||||
item.StatsSerialized = XmlUtil.SerializeXml(new ItemStatsMap {
|
||||
|
Loading…
x
Reference in New Issue
Block a user