I have 2 questions regarding TP.
First, I was absolutely positive I saw, at one time, an option to allow TP to carry over from battle to battle (and be displayed in the character menu) but the only one I can find now is "Show TP in Battle" in the system menu.
I have an item that grants you bonus TP and I REALLY want it to be out of battle use only so I need to figure out a way to get TP to show in the status screen.
-------
Next I have a skill that deals bonus damage based on the amount of TP you currently have. I have the formula down but I want the skill to use the amount of TP you have before you use the skill and then set it to 0
so if you have 100 TP, then the skill factors in that you have 100 TP for damage before reducing it to 0.
Is there any way to do this?
this is the current formula:
(a.atk * a.mdf) * ((100 + (a.level*10) + a.tp)/100) - b.def
Setting TP to 0 after an attack and TP carry over
● ARCHIVED · READ-ONLY
-
-
why the magic defense...
nevermind.
Did you try doing
c = a.tp; a.tp = 0; (a.atk * a.mdf) * ((100 + (a.level*10) + c)/100) - b.def(this is the same code with the change you asked for. In my opinion you should change the mdf fot mat, would make more sense, but it's your game...) -
To have TP carry over, on the Actor tab in the Features click and select Special Flag. Keeping TP is one of the options there.
EDIT
To have TP show in the menu you could use Yanfly 's Menu script. On my phone so can't give a link to the new download url but it's on the front page of Yanfly's site. -
thanks, I KNEW I'd seen a TP carryover feature somewhere!
Also, that got the tp issue I was having to work (now I can use this to make overdrives and things like that :p )
as for why I'm using a.mdf...
I've changed mdf to weapon damage (that's what it appears as in game). I was doing something akin to a Final Fantasy Tactics where damage is a result of attack power * weapon damage but I needed a stat to use (and mdef became it).