Special Monster Spawn Event

Hey there, I had an idea for special monster spawn but I cannot figure out how to make the event. Here is some context: In my project there are finite amount of enemies that give experience and crafting materials. But I don't want the crafting materials to be finite, say the player crafts something by mistake - he is stuck now and has to reload a previous save file, or wants to craft the item for several actors but cannot because he had bad drop rate - I want to avoid that.
So I had an idea: Let's say there are 10 foxes in the whole game, they drop leather + exp, if the player kills all 10, a special enemy spawns on one of the 10 fox events - it's a stronger 'corrupted' fox that always drops leather but no exp. And when the player sleeps in a bed, the corrupted fox respawns on one of the events (no other enemies respawn in the game by design).
I want the corrupted fox to have different spawn points each time(limited to the original spawn points of the 10 foxes), and only one at a time to be present (and if possible to be a singular event that I can copy with Yanfly Event Copier)
So my question is: how to make the corrupted fox "choose" on which of the 10 events to spawn and limit it to 1 at a time. Maybe some of you guys have an elegant sulution or a useful plugin? Thanks.
Not sure about the event spawner, but generally you can just track the amount of killed foxes and when the max number is reached, roll a variable 0-9 and have each fox spawn have a new event page with the condition of said variable, each corresponding to a number of that variable with the corrupted fox spawn.

That way one of the spawns becomes the corrupted one, while the others remain inactive. When resting in a bed, just reroll that variable. (You'll likely also need a "dead" switch page for each of the enemy events, which gets turned on after defeat so you can't just infinitely defeat the same one. Turn that one off when resting as well.)
In your suggestion you roll only 1 variable during the sleep event but I couldn't understand what the fox event should look like with that variable.
So I made this with 1 variable and 2 switches per enemy.
Variables: Fox Slayer
Switches: Corrupted Fox Spawn; Corrupted Fox Reset

Page1: Battle processing > Win > V:Fox Slayer +1; SelfSw: A ON
Page2: Conditions: SelfSw: A ON
Page3: Conditions: V:Fox Slayer = 10.
If Corrupted Fox Spawn is ON > Control SelfSW: C = ON (if already spawned it goes to blank page)
;else roll Random Number from 1 to 10
;If Random Number = 9 > SelfSw: B = ON; Corrupted Fox Spawn = ON
;else Control SelfSW: C = ON
Page4: Conditions: Fox Spawned = ON; SelfSW: B = ON
Battle Processing: Corrupted Fox; if Win > SelfSW: C = ON; Corrupted Fox Reset = OFF
Page5: Conditions: SelfSW C = ON
Page6: Conditions: SelfSW C = ON; Corrupted Fox Reset = ON
Control SelfSW C = OFF
Control SelfSW B = OFF

Sleeping event:
Control Corrupted Fox Reset = ON
Control Corrupted Fox Spawn = OFF
Page 3 & 6 are Parallel.
Basically once you sleep, page 6 gets activated and it resets back to page 3 if Fox Slayer = 10.
I can create a chunky common event to deal with all switches during the sleep event, since there are 2 switches per enemy.
You don't need a variable per enemy. The variable is there to decide which enemy will be corrupted. The switch is merely to prevent the foxes from *not* disappearing upon defeat. In your fox event you have a page with said variable as condition. Fox 1 has condition variable = 1, fox 2 has variable = 2 and so on. That way when you roll it when resting, one of them will be on the corrupted page. The fox slayer variable acts as a condition for the bed event to decide whether or not to actually roll the corrupted variable. So if "Fox Slayer = > 10" > Roll "Corrupted" 0-9.

A corrupted spawn switch is not necessary, because the corrupted spawn only happens when fox slayer is 10 or more, which is the max amount of foxes on the map, therefore it can only happen once all regular foxes are dead.
Ah I understand now, but this has a different problem.
1. I cannot use Yanfly event copier because each of the 10 fox events has different conditions for the corrupted spawn, so it has to be 10 different events.
2. I cannot use the corrupted spawn variable for different monsters, for example there would be 20 bears, yes I can make the variable roll from 1-20, and make the foxes condition from 1-2; 3-4; 5-6 ect., but what if I add an extra fox somewhere in the game, I have to go back and change the conditions of the fox events, and what If I add a monster that has 30 spawns, now I have to make the roll 1-30 and edit all monsters retroactively, and since I can't use Event Copier this will be dreadful.
So basically I have to either use 2 variables per monster and no Event Copier (making edits hard) or 1 variable and 2 switches per monster + Event Copier
I appreciate the time you took to help me, thanks.

Original thread: https://forums.rpgmakerweb.com/threads/special-monster-spawn-event.180166/