using System.Collections; using System.Collections.Generic; using UnityEngine; public class ItemWeapon : Item { public readonly int Attack; public readonly int Damage; public ItemWeapon(string name, string iconName, int pbasePrice,int pAttack, int pDamage) : base(name, iconName, pbasePrice) { Attack = pAttack; Damage = pDamage; } public override ItemType GetItemType() { return ItemType.Weapon; } public override string GetStats() { return "Attack: " + Attack + "\tDamage: " + Damage; // Empty placeholder } }