So yeah, maybe late to the Party, but here's what I use:
a.Stat1*a.Stat2/b.Stat3
With each Weapon or skill type having a unique damage formula
So a longsword would be a.atk*a.agi/b.def
A fire spell is a.mat*a.atk/b.mdf
A fire sword attack would be a.mat*a.atk/b.def
The used stats are given by symbols in the weapon/skill description, so if a player find a new weapon, they immediately know what helps them. All weapons also raise their associated stats, as an extra 'Hint'.
"Oh, this poison dagger uses Agility and Pharmacology, is that better than the Agility and Crit Chance dagger I have?" (No weapon's a straight upgrade in my game.)
Everything's grouped by theme off course. All Daggers use Agility in some way, all Hammers use Max HP as an attack stat...
Wait HP? How don I make that work? Well, it's not HP%, it's 'How much more Maximum HP does this character have in comparison to a character of his Level.' This if course requires me to use carefully controlled HP formulas so I can slot the into damage formulas.
Pharmacology and such are also rescaled to "Attack stat of this level times the PHA %"
So if a character at level 10 would have, for example an average attack stat of 30, then a Pharmacology of 130% would count as an attack stat of 39
I like the formula because it keeps the relation between Damage and Stats linear. Defensive numbers are in the same range as the Offensive ones, so usually the damage formula plays out like this:
I Have 30 Attack, and 30 Agility, so My longsword deals 30 damage against an enemy with 30 Defense. (30*30/30=30)
Now, if I raise my Attack by one, my Damage goes to 31*30/30 so now it's 31.
So far so good. It performs like a.atk-b.def would if you used an attack state twice the defense stat. (Or a sum of two stats)
But now, if I double my attack, my Damage against the same enemies also doubles. (60*30/30)
If I used a.atk-b.def, I would have tripled my damage. (Assuming ATK scaled twice as fast as Defense) By going from 60-30 to 120-30. I don't want that.
It also play nice with debuffs. Halve the enemy defense? Great, you deal double damage. Double your own defense? You take half.
Stat growth is about 10 % per level, so I know just how much being up or down a level means.
An interesting side effect is that boosting two different stats works out better than just boosting one twice. 125%*125%>150% after all. Makes even obscure buffs worth considering.
"All right, If I boost Agility, I'll boost the Wind user and Rogue, but If I boost defense, The earth mage and Bashing Shield user will be happy."
It also means that the player can calculate the damage quite fast. If he has an ATK of 35 and an AGI of 30, he can pretty much assume he'll be doing Between 35 and 30 Damage with an AGI and ATK ability against an average enemy of his level. (I also precalculate this damage in the tooltip).
It means that if the player sees '15 Damage' When he expected 30, he knows he's attacking the wrong defensive stat.
"'Ice blast' didn't do that much, but he's not resistant to ice, maybe I should use 'Ice Sword' instead, that hits DEF."
Another reason to tie every attack to two stats is so that more stat debuffs become relevant.
"Oh, they lowered my attack? So now my fire magic is worse, but not my Ice magic. That's off of MDF and MAT, but he's weak to lightning, though, maybe I should use that instead ..."
But yeah, that's just my way of doing it.