Looking for a certain battle mechanic script

Anybody know of a script where the player can only use his abilities by taking a threshold of damage? For instance if he loses 50 health then he can use one of his abilities.

Thanks so much 🙂
I've moved this thread to Script Requests . Please be sure to post your threads in the correct forum next time. Thank you.
You'll need to give more details on how you want that effect.


Most people use TP for similiar effects (TP can be gained by other skills, but is always gained when being damaged) which would not require scripts.


But because of that I haven't heard of a single script that uses a different mechanic for connecting damage to skill use.


There might be a way to use one of the skill condition scripts that allows for coded conditions, please check these (I think both Yanfly and Tsukihime wrote such scripts, but I don't remember their options.


And if a scripter is to write a new script for this request, more info is needed to know what it should do.
I see now. I think TP should work just fine if I turn TP gain to 0 for ally attacks and is only gained by taking damage. Thanks!
Just check the TP gain formulae from damage - the gain is higher based on relative damage, and influenced by one of the additional parameters (don't know if EX or SP)

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-a-certain-battle-mechanic-script.54350/