using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// The scripted armor generates armor with the specified defense /// [CreateAssetMenu]//Allows creating ViewConfig objects in Assets -> Create menu in the Unity Editor public class ScriptedArmor : ScriptedItem { public int Defense; public int Block; public override Item GenerateItem() { return new ItemArmor(Name, Sprite.name, Price, Defense, Block,Description,Rarity); } }