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

@@ -28,6 +28,18 @@ public class PlayerMovement : MonoBehaviour
{
HandleDash();
}
if (Input.GetKeyDown(KeyCode.L))
{
if(PlayerSkills.TryUsePotion(PotionHandler.PotionType.HealthBig))
{
Debug.Log("Potion used!");
}
else
{
Debug.Log("Potion not available!");
}
}
}
void FixedUpdate()