Looking to force target on The User

It sounds inane, but I need a custom target eval using Yanfy's target core to force the target to be the USER of the skill.

I've previously use this to target a specific actor in the party:


var actor = $gameActors.actor(1);

if ($gameParty.battleMembers().contains(actor) && !actor.isDead()) {

targets.push($gameActors.actor(1));

But I have no idea how this should change when it comes to making sure the USER of the Skill is selected as the target.

In case you're wondering why I wouldn't just select 'The User' in the scope - it's because I'm doing a workaround involving two different plugins where in this instance, the 'scope' field in the Skill's general settings is ignored.
Can you not just do targets.push(user) to force the target to be the user? I've never tried this before, but it should work.
Why don't you just set scope to the user? Does Yanfly's plugin make the default targeting system not work?
He actually covered that in his OP, sort of. Something to do with multiple plugins and compatibility issues, maybe?
Thanks - I completely missed that bit. I am too tired to be on forums now.
Thanks for the replies - @ramza your solution worked.

Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/looking-to-force-target-on-the-user.94697/