Potion Logic

Most of the potion logic for now
This commit is contained in:
2025-08-02 02:54:53 +02:00
parent 65f3409eba
commit 630c54f7ff
20 changed files with 981 additions and 95 deletions

View File

@@ -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);
}
}