[MZ] Attempting to implement 'stress' mechanic instead of MP or TP - not sure how to go about it.

So I've had an idea for how to design combat, but I'm unsure how to alter RMMZ to work with me. I have access to the Visustella 8 wave bundle, if anything in there would be useful.

the combat is based around a mechanic called STRESS.
Each character has a Stress Meter, from 0 to 100.
All characters start at zero stress.
Stress goes up when you do... basically anything. Attacking adds 10 to stress. Taking damage adds stress based on how much damage you take (Each % worth of your max health lost is added as stress.). Abilities have varying Stress costs, raising your stress by that much when used.
The higher your stress, the worse your accuracy. You use your double-purpose GROUND skill to reduce stress and defend yourself. If you hit 100 stress, that character has a breakdown and has a unique response based on the character.
that is almost the TP mechanic, with only a few changes.
Just rename TP to stress and you're halfway there already.

you can use the TP Charge rate to adjust the amount of TP gained from damage

100 stress can be checked with troop events, although you should use a base troop function to handle that (so you don't have to place those events everywhere).

You'll need to request a plugin for accuracy formulae to have that effect, but the rest is base functions and eventing.
If you don't want to use any plugins for the accuracy change, you could create states that would function as brackets. So for example, if the character has up to 20 stress: apply state Stress 1. Up to 40? apply Stress 2. And so on!
1747085659842.png
I have access to the Visustella 8 wave bundle, if anything in there would be useful.
You can use Passive States to automatically apply any state for hitting certain TP thresholds. The Core Engine looks like it also lets you modify parameters directly, so instead you could put TP into the formula for Hit Rate at whatever rate you want (such as subtracting half of TP so it goes towards half accuracy as it gets close to max).
As you may have garnered from everyone's responses, there are more ways that lead to Rome. Assuming you'd just rework TP for this, you can adjust the damage formulas in BattleCore >>> Damage Settings >>> Default Style >>> Copy the top-most Standard and paste it at the bottom, open it >>>give it a fancy name, and double click Open JS: Formula

You'll see the damage formula by scrolling to the bottom. You could change it to something like:

JavaScript:
// Calculate Damage
let value = Math.max(eval(formula) * ((b.tp +100)/100) , 0);

In this example, you'd receive double damage at max stress level. After you're done with that, go back to the Damage Settings window, and set your default style to the new style you created.
Thanks for helping everyone! I've made some progress, but I'm running into a problem still - raising the TP when abilities are used. It just doesn't seem to want to function properly.
raising the TP when abilities are used. It just doesn't seem to want to function properly.
that is strange - every skill in the database has a setting "TP Gain" under Invocation where you specify how many TP the actor gains for using that skill.
what did you enter there, and what happens in your game?

Original thread: https://forums.rpgmakerweb.com/threads/mz-attempting-to-implement-stress-mechanic-instead-of-mp-or-tp-not-sure-how-to-go-about-it.177624/