Potion Logic
Most of the potion logic for now
This commit is contained in:
@@ -7,6 +7,8 @@ public class CardUI : MonoBehaviour
|
||||
[SerializeField] private string cardname;
|
||||
[SerializeField] private PlayerSkillTree.Skills skill;
|
||||
|
||||
[SerializeField] private PotionHandler.PotionType potionType = PotionHandler.PotionType.None;
|
||||
|
||||
public PlayerSkillTree.Skills Skill { get => skill; private set => skill = value; }
|
||||
public string Name { get => cardname; private set => cardname = value; }
|
||||
|
||||
@@ -18,6 +20,6 @@ public class CardUI : MonoBehaviour
|
||||
|
||||
private void OnCardClicked()
|
||||
{
|
||||
CardManager.Instance.SelectCard(Skill);
|
||||
CardManager.Instance.SelectCard(Skill, potionType);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user