Beispiel #1
0
        public override Item Build(int level, double additionalKoef = 1.0)
        {
            var item = new ScrollOfEnchantArmor()
            {
                Level = level,
            };

            item.GoldValue.Base = GetItemGoldValue(level);
            item.UpdateGoldValueKoef();

            return(item);
        }
        public override IEnumerable <IItem> Build(int level, int count)
        {
            var newLevel = GetItemLevel(level);
            var item     = new ScrollOfEnchantArmor()
            {
                Level    = newLevel,
                Quantity = count,
            };

            item.GoldValue.Base = GetItemGoldValue(newLevel);
            item.UpdateGoldValueKoef();

            return(new[] { item });
        }