MZ How to do a Morrowind/FF2 style attribute system?

Fortunately, when it comes to MZ there's plenty of different plugins that allow you to create custom stats, parameters and attributes. I'm thinking of using one of them to create "Attributes" like how in Morrowind or FF2 you have attributes that govern "skills," i.e. strength governing hand-to-hand, so the more you use hand-to-hand the more that "skill" (really, I think in RPG Maker terminology it would be more accurate to call it something like a, "secondary attribute,") levels up. Whereupon leveling secondary attributes gives you EXP towards your character's actual level, where leveling up would increase your "primary attributes" like strength, which allows your unarmed attribute to do more damage.

I don't know if I'd like to go as in-depth with things as Morrowind does, but I'm thinking that I would like something of a similar system. My thinking is that I could Make a variable that pulls the gamedata from an actor's parameters like Attack or defense and track that with a "stat" via something like BItQuest Studio's custom stats plugin. I could probably make a common event that tracks if skills/attacks governed by that stat "hit"/succeeded or not, and then grant EXP towards the stat based on how much damage the attack did. My question is, how would I determine if the attack succeeded or not? Like, I imagine I'd use some sorta script, but I couldn't figure out what script call MZ uses that tells if an attack hit or not when looking at the list of script calls?

Same with figuring out how I would write the formula for giving more "EXP" based on damage output?
I don't think Events can handle that. Visustella Core Engine allows for custom attributes - but you still need to make sure a formula for them exists.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-do-a-morrowind-ff2-style-attribute-system.182937/