Both are essential. If the game has a fantastic story but a horrible battle system, you'll get tired of it in no time. If the battle system is great but the story sucks you'll either lose interest halfway through the game or crawl to the finish and forget the game forever as soon as you're done with it
RPGs need both story and gameplay to be good








