Custom Steal Skill "Had no Effect"

Following this Youtube video, I've created this Steal skill.



Everything is working fine except for the "had no effect message" and then followed by "Stole item!"

Why does "had no effect message" show? Is it because the skill is set to "none" concerning damage type?
The battle log does that if the skill doesn't do anything.

A workaround without plugins is to have, in the effects box, it apply a state (doesn't matter what, make an empty state that doesn't do anything), then remove the state again. That should make the skill do something so the game doesn't show the "no effect" message.
Thank you!
I don't think I should make a new topic since my new question regards this skill again.

With this tutorial, after you steal an item you have to turn off the switch via Parallel process event so you can attempt to steal next battle. Otherwise the next battle says you have stolen an item even though you haven't stole anything yet.

I tried to make a condition on the troops page where if "Enemy has knockout" then switch is turned off to check whether or not an item has already be stolen.

But that didn't work. Is there anyway around this without using parallel process and just page branches on the troops tab?
Is there any way to turn off the switch during battle on the troop page than using a parallel process on map? Is this even possible?
Is there any way to turn off the switch during battle on the troop page than using a parallel process on map? Is this even possible?
You could use a plugin something called after battle common event or something. So after every battle, a common event will launch, you can deactivate said switch there.

If you use touch encounter, you could switch it in the event, but if you use random encounter, then the easier way is to use plugin.

Edit: here's the plugin, it's paid plugin tho http://www.yanfly.moe/wiki/Utility_Common_Events_(YEP)
I think there's free alternative somewhere.

Original thread: https://forums.rpgmakerweb.com/threads/custom-steal-skill-had-no-effect.137367/