Skill user and skill target in the battle formula

I need to figure out how to call a script to assign the skill user to a variable and the skill target to another

variable. To be clear, this skill targets a single ally, it's it's always targeting allies.

Using the library of script calls that's stickied here, I got this:

$gameVariables.setValue(19, b.id); $gameVariables.setValue(20, a.id); 10

a.id and b.id are what I used for this back in VX ace. I can't figure out what to replace them with. 

I can confirm that this script does what I want it to if I replace the red text with static numbers.

Original thread: https://forums.rpgmakerweb.com/threads/skill-user-and-skill-target-in-the-battle-formula.46983/