I mean, you've described just about everything from Castle of the Winds to Skyrim (well, maybe not if the graphics were basic.)
If you think of any more of the description, there's a subreddit that's specifically about helping people find obscure games they kinda remember: https://www.reddit.com/r/tipofmyjoystick/