using System.Collections; using System.Collections.Generic; using UnityEngine; /// /// The scripted weapon generates a weapon type scripted item, adding attack and damage variables to it /// [CreateAssetMenu]//Allows creating ViewConfig objects in Assets -> Create menu in the Unity Editor public class ScriptedWeapon : ScriptedItem { public int Attack; public int Damage; public override Item GenerateItem() { return new ItemWeapon(Name, Sprite.name, Price, Attack, Damage,Description); } }