all repos — RPG @ 006fdc724dea4fb9f50a04871f38776841e84439

Fully functional 3D turn based role playing game coded in C# and base Unity.

Assets/Scripts/Utility/Inventory/Items/PotionGreat.cs (view raw)

 1using System.Collections;
 2using System.Collections.Generic;
 3using UnityEngine;
 4
 5[System.Serializable]
 6public class PotionGreat : Item
 7{
 8    public PotionGreat()
 9    {
10        name = "Great potion";
11        price = 130;
12        effect = new HealGreat();
13        consumable = true;
14        description = "It smells like candy.";
15    }
16}