Exemplo n.º 1
0
        public Item Generate(string power, string itemName, params string[] traits)
        {
            var armorType  = GetArmorType(itemName);
            var isSpecific = specificGearGenerator.IsSpecific(armorType, itemName);

            return(GenerateArmor(power, itemName, armorType, isSpecific, traits));
        }
Exemplo n.º 2
0
        public Item Generate(string power, string itemName, params string[] traits)
        {
            var isSpecific = specificGearGenerator.IsSpecific(ItemTypeConstants.Weapon, itemName);

            return(GenerateWeapon(power, itemName, isSpecific, traits));
        }