I don’t know what game first came up with it, but Super Mario RPG was the first time I saw timed hits for attack and defense in a JRPG. While the mechanic isn’t exactly ubiquitous it has popped up in a handful of other games over the years and it always reminds me of that game.