State% based on TP?

I would rather do this without a script, so if there are any of those suggestions i'd be happy to use them. If not, i was wondering if there was a script that allowed to change the way applying a state worked. Like the more TP you have, the less likely the state is applied. This is for a skill that gets more powerful the more TP you have
If its a few skills, you could always use the damage formula to calculate the chance, and also to apply the state..

If it will be for a lot of skills, you'd want a script for that.
'Script Support' is for when you need help implementing a script you already have.

I will move this to Ace Support as you say that your preference is not to use a script, and a suggestion has been made for how to do that. If in the end it looks like you will need a script, please report the thread and ask for it to be moved to RGSS3 Script Requests.

Moderator note: Moving this.

Original thread: https://forums.rpgmakerweb.com/threads/state-based-on-tp.114170/