Skipping Skill Confirmation

Hello!
I'm trying to implement different defence skills for my actors to replace the Guard feature.
Currently I have 3 actors, one of the skills would be centered around raising the defense, one around raising the evasion rate, and the last one granting the user a counter / reflect ability.

The skills themselves work fine, but the one thing bugging me is that those are skills the actor can only use on themself, but you still have to confirm the target after selecting the skill.
I'd want it to work like the Guard skill, meaning you just have to select the skill and not the target after that.

I need to say that I found this post that is basically exactly the same question as mine, and it's solved, but it's for VX Ace I think, so I unfortunately don't know how to apply it for MV, since I the lack programmation knowledge :


Thanks a lot!

EDIT : I realize that the fact I have to confirm the target for a skill set on the target "User" is because of one of the Yanfly's battle plugins (not sure which one, I need to check later). So I guess I'll have to edit the code of the plugin itself?
Bumping because I found what plugin forces to select a target even when a Skill is set to "the user", it's YEP_BattleEngineCore. I think I need to change something in the plugin so the skill doesn't require this extra input, I hope one of you can help. 🙂
Really starting to talk to myself here ahah.

So I kinda solved it but not really : after some more googling I found this other post with a short plugin that solves the issue : https://forums.rpgmakerweb.com/index.php?threads/skill-scope-the-user.84313/post-777556

Now it works fine with YEP_BattleEngineCore but I'm also using VE_BattleStatusWindow :
When both are active, now I get this error message when I use a skill that targets the user :

TypeError: Cannot read property 'scope' of null
at Game_Action.checkItemScope (rpg_objects.js:1302:37)
at Game_Action.isForUser (rpg_objects.js:1318:17)
at Window_BattleActor.autoSelect (YEP_BattleEngineCore.js:4668:23)
at Scene_Battle.selectActorSelection (YEP_BattleEngineCore.js:4668:23)
at Scene_Battle.onSelectAction (rpg_scenes.js:2617:14)
at Scene_Battle.onSelectAction (VE_BattleStatusWindow.js:1376:50)
at Scene_Battle.onSelectAction (YEP_BattleEngineCore.js:4702:44)
at Scene_Battle.onSkillOk (rpg_scenes.js:2587:10)
at Scene_Battle.onSkillOk (YEP_BattleEngineCore.js:4710:39)
at Window_BattleSkill.Window_Selectable.callHandler (rpg_windows.js:902:31)

I tried to shuffle the 3 plugins around to see if it would fix it but it seems to be uncompatible, the only thing that "fixes" the problem is disabling the plugin VE_BattleStatusWindow.
I think I will have to resign myself to confirming the target for skills targeting only the user unfortunately, but if by chance one of you has a solution, I'd love to hear it.

Original thread: https://forums.rpgmakerweb.com/threads/skipping-skill-confirmation.128692/