﻿using System.Collections;
using System.Collections.Generic;
using Assets.Scripts;
using UnityEngine;

public class HealthPotion : Consumable { 

   // public int Modifier;
   // public int HealthMod;

    public HealthPotion()
    {
    }

    public override void Consume()
    {
        //Sets the Player's health to 100. This is currently the max, but is hard coded since there was not a
        //Variable which indicates the max health of the player.
        var player = FindObjectOfType<Player>();
        player.Heal(100);
    }

}