public void MaxHealthUp() { soundmanager.PlayMenuSound(); if (playerstats.lvlUpPoints > 0) { int buffAmount; buffAmount = 100; playerstats.AddMaxHealth(buffAmount); playerstats.LevelUp(); playerstats.lvlUpPoints--; Done(); } }