Is there a way to make critical hits that don't do damage?

I know the title of my thread might be kind of confusing, but what I want to make is actually kind of simple 😮‍💨Basically I want my game's critical hits to do more than just damage, almost every skill can be critical in my game but I have an issue with buffs. So basically my game's buff skills can be critical and I gave them an interesting effect. I have already made them work, the only issue is that in order to allow a skill to be critical in MV the software forces you to do damage with that skill, so buff skills need to do damage for the skill to be able to be critical, and buff skills don't do damage in rpg games so that damage popup makes my game look kinda unpolished 😅 Is there a way to hide the damage popup on that skill, or being able to make buff skills be critical without the need to make them deal damage?
Just as a tip - formatting your post with some line breaks will make it more readable by people.

If you use something like Yanfly's Skill Core, you can use notetags to run code when you use skills, regardless of whether it does damage or not.

Then you can insert into that code a random chance or formula to determine whether it "critically" hits without needing to rely on the engine's definition of that.
Sorry for my ignorance but how do I exactly create that effect, I tried some things but nothing worked 😐

Btw thank you for always replying to my posts!

And also, happy new year, hope this year will be great for you!

Just as a tip - formatting your post with some line breaks will make it more readable by people.

If you use something like Yanfly's Skill Core, you can use notetags to run code when you use skills, regardless of whether it does damage or not.

Then you can insert into that code a random chance or formula to determine whether it "critically" hits without needing to rely on the engine's definition of that.
No problem. A couple of tips for basic things - if you Google terms like "rpg maker mv script call state" you'll find threads with the syntax for adding and removing states. There's also a pinned thread of script calls that can give you a start.

So you could put on your skill something like:
Code:
<After Eval>
if (Math.randomInt(100)<10)
    target.addState(69);
</After Eval>

That has a 10% chance of adding state 69 to the target of the skill.
No problem. A couple of tips for basic things - if you Google terms like "rpg maker mv script call state" you'll find threads with the syntax for adding and removing states. There's also a pinned thread of script calls that can give you a start.

So you could put on your skill something like:
Code:
<After Eval>
if (Math.randomInt(100)<10)
    target.addState(69);
</After Eval>

That has a 10% chance of adding state 69 to the target of the skill.
Thank you, it worked! However I have one last question, how can I make the value of the user critical hit chance to affect that chance, instead of being just 10%? 😢

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-make-critical-hits-that-dont-do-damage.164358/