Passive Ability: Superblock

A passive ability requires no activation. It takes no MP, no TP, nothing.

I want this passive ability, Superblock, to allow the character to block an attack at a 5% chance. When the character blocks, it maximizes MP, TP, or HP, one of the three at random.

How can I do this?
not by the default engine, it will require a plugin
not by the default engine, it will require a plugin

Well, if I change the plan to make the character dodge instead of blocking to do this, can I do that?
not by the default engine, it will require a plugin
I may not suceed but...

Challenge-Accepted.jpg
Well, if I change the plan to make the character dodge instead of blocking to do this, can I do that?
doesn't matter, the problem is the other part - change/maximize a value on successfull block or dodge.
If he digs through the scripts and removes basic attack command, he can attach a common event to attack and use the CNT paramarter. May also need to make it do little to no damage. Or he can make it so it maxes TP in the skill and targets the user and heals for 1 instead of doing damage
If he digs through the scripts and removes basic attack command, he can attach a common event to attack and use the CNT paramarter. May also need to make it do little to no damage. Or he can make it so it maxes TP in the skill and targets the user and heals for 1 instead of doing damage

I am actually looking to affect one actor, not all.
I am actually looking to affect one actor, not all.
Then don't give all actors a CNT parameter if you use this solution. I'll try to come up with another solution anyway

Original thread: https://forums.rpgmakerweb.com/threads/passive-ability-superblock.115084/