Pretty much says it all. Setting the TP gain in vanilla settings doesn't work, because I want it to be a formula, not static. But I can't figure out a way to get Yanfly's Enhanced TP to check for damage dealt being physical and not magical. And I don't know of any other plugin that might do it. One thing I tried in the plugin was:
if (value > 0 && this.isPhysical()){ formula }
But it didn't read it, just made attacks yield no TP at all (the formula works without that if statement just fine) I forget where I got the statement from, maybe it's just bad, or maybe the plugin just doesn't read it, but either way, I'm fresh out of ideas as to how to make TP be gained both with a formula and only physical attacks.
if (value > 0 && this.isPhysical()){ formula }
But it didn't read it, just made attacks yield no TP at all (the formula works without that if statement just fine) I forget where I got the statement from, maybe it's just bad, or maybe the plugin just doesn't read it, but either way, I'm fresh out of ideas as to how to make TP be gained both with a formula and only physical attacks.