Skill target random dead ally?

Hi. So, I'm making a skill which has a chance to revive a random dead ally.
The idea is to give the skill to an enemy, who will be able to use it to resuscitate a team mate of theirs. This is to make battles more interesting.
The issue is that I can't randomise who gets resurrected. The only options for "Ally" is "one" and "all", and if I chose one, the enemy will always pick the enemy that spawned earlier, and if I chose all, it really isn't random either.
Is there a plugin or script I could use (preferably nothing that is so hard I'll cry) to allow for the selection to be random? I have looked around, but been unable to find anything.

Thanks in advance.
Never mind. After a lot of studying and googling (several hours before posting, and several hours efter posting) I found a way to do it. If anyone else wants to do this, and is as bad at using MV as I am
here's how I did it in the end.
Feel free to tell me how stupid I am for not figuring this out earlier, or for not doing it more elegantly in the end.
I Made a skill that targets one ally, set it to remove state: knockout 100%. and named it "summon"
Make a common event: "force action : #1, summon, random" named the event random summon
I made a second skill,effect: common event:random summon.

It works perfectly, with the only caveat being that there's an extra line of attack dialogue the turn it's used, and I can live with that.

Original thread: https://forums.rpgmakerweb.com/threads/skill-target-random-dead-ally.126026/