Hmm... I was thinking... How does VX know what enemy you're targeting?
... I'm just...going to throw this out there, but in a conditional branch, would it be possible to use the script command in the conditional branch to check if
$data_enemies[1] = (whatever actor's target is)
?
My point, is... if this is possible... to do this 8 times in 1 common event. Essentially checking what you're targeting. This way the stealing system actually functions on whatever your target is instead of some average of a troop.
Cause then if my little
$game_enemies[1] = blah
, is true, then I would script command
$game_enemies[1].agi = $game_variables[x]
and then use X as my point to start calculating for the steal. (or actually, der, i could just set a variable = enemy 1 in the troop's agi...)
If it's false then it would just move to the next conditional branch checking if data_enemies2 is targeted and so on.
*(hoping that it is possible)*