Lunatic State: Cancel enemy skill

First of all, I want to really thanks everyone in this forum. I can't believe all the help I have received so far. I'm very sad that my project is just a fan project, so I can't make money with it, otherwise, I would pay to everyone who helped me so far.

ANYWAYS...

I'm using Yanfly Lunatic State's. And my objective is to make a state for the enemy, that when it have it, it responds with the "while" tag, and if that skill has a Stype_id == 6, it will CANCEL, or make it miss, that skill.

I managed to make the indentificator for it:

Ruby:
when /JAMMER/i
    return unless user.current_action.item.stype_id == 6

I tested it with an game_message.add and it works PERFECTLY. Now, the problem is "What's the call to cancel the current_action?"
I searched in the whole script editor and tried it with all the calls I found, but no one cancel the coming attack. Is there even some call that can cancel the current attack? like "@subject.remove_current_action"

Also tried:
Ruby:
user.perform_damage_effect unless user.current_action.item.stype_id == 6

The other alternative I could think of, is to change the "accuracy rate" of the enemy to 0, so it will miss it attack.
But I also doesn't know what's the call for changing an special parameter as the accuracy rate.

--------------------------------------------

Another question regarding lunatic state:

Is there a call to check for the enemy currently attacking?
Let's say the actor is the one that have this state, and I use the "react" note tag. Is there a conditional to check if the "current_action" is an enemy? I tested it using user.current_action but it returns an error if I use the "react", and only works with the "while", but of course, in this case is the actor the "user" so it won't return an error, as the lunatic state only works for the current actor/enemy affected by the state, and you can only use calls that respond to that actor/enemy in the appropiate timing. But maybe there's some conditional to check if the "current_action" is someone else beside the one affected by the state?

Original thread: https://forums.rpgmakerweb.com/threads/lunatic-state-cancel-enemy-skill.149982/