Help with randomization

So i'll make it short.
Have you ever heard of that site where you simulate hunger games, and they are all described by text?
I wanted to make something similar in RPG maker just for fun.
I began with running a lot of random variables to run the events and associating every actor to a number, but then I realized something: I don't know how to prevent the events from picking the same character for multiple actions in one turn, or how to make an alliance increase the chances that the RNG makes a character win.

Is there an easy way to do this without plugins?
(Note: I don't know anything about script calls)
Have you ever heard of that site where you simulate hunger games, and they are all described by text?
No.

I don't know how to prevent the events from picking the same character for multiple actions in one turn, or how to make an alliance increase the chances that the RNG makes a character win.

Is there an easy way to do this without plugins?
Depends on what you consider "easy".

It's all math and logic, so it's entirely doable with event commands; and some code would probably make it easier or more efficient.

Most basically, you have a variable that's equal to your last result.

Make a Loop.

Set another variable to a random value.

If that variable is not equal to the old one, set the old variable to the new one and break the loop.

That will prevent you from getting the same result twice in a row. If you don't want a completely random value but one that's weighted, it depends on how your system works (which we have no clue of).

If it's something like D&D, where it's just a higher value is better, you can take your random value and add some amount to it for being in your alliance. If it's that specific values are good or bad, then you would probably benefit from using a bit of code to create an array that has more of some results than others, so you're more likely to get one of those.
you wouldn't need a full plugin, but you would need knowledge about logic sequences and programming.
with that knowledge there are several ways, but I don't think you would consider that "easy" based on the questions in your post.

EDIT: ninja'd
it depends on how your system works (which we have no clue of).
So i'll try to resume in short what i need:

Each round the rng will pick one of the actors, then it will decide if he will attack someone else, or make an alliance.
once it is decided, it will chose the target of the action, which i need to make sure it doesn't select a death actor or someone already allied with.

if a battle happens, i need it to run an rng to see who wins, and of course the number of allies of BOTH sides is to see.

then i need a way to make sure that a death actor is entirely removed from the RNG choices, unless a special "resurrect" event happens, which will select one random actor from the deaths to put back in game.

at the end there will be only 1 left standing
Okay, straightforward enough.

My big suggestion to you is - try. Make a mock up. You probably will get stuck just using event commands at the alliance stuff and how to account for dead opponents - that's okay, just get the basic "choose a random person, choose a random opponent, determine who won the fight." And it should be easy to factor in not choosing the same person twice in a row like I described above.

Then you can get help from there and you'll have your basic system to provide screenshots of - it will definitely be a bit easier to throw in some coding to use arrays to track who's dead and who's an ally.
Ok so, here's what I got so far:
For this is used only 4 actors, issue is that I'd need more than 4, and from the look of this, adding actors sounds tedius, even if doable even if it will give me a huge wall of text in each event

The "Turn-event" image is what runs every "turn"

The other 2 are self explanatory


I uploaded here the project file as well just in case

Original thread: https://forums.rpgmakerweb.com/threads/help-with-randomization.161825/