use of eidolons.content.DC_CONSTS.MAGICAL_ITEM_LEVEL in project Eidolons by IDemiurge.
the class ContainerMaster method generateJewelry.
private List<ObjType> generateJewelry(ITEM_RARITY rarity, List<ObjType> group) {
ItemGenerator generator = ItemGenerator.getDefaultGenerator();
JEWELRY_ITEM_TRAIT[] traits = getJewelryTraits(rarity);
MAGICAL_ITEM_LEVEL[] levels = getJewelryLevels(rarity);
for (ObjType sub : new ArrayList<>(group)) for (MAGICAL_ITEM_LEVEL level : levels) for (JEWELRY_ITEM_TRAIT trait : traits) group.add(generator.getOrCreateJewelry(sub, trait, level));
return group;
}
Aggregations