All rooms in the Dungeons have 2 anchors each.
The Corruption and Elite System works as a whole, they do the following steps in each floor when generating a new dungeon:
- First, verify in which rooms Elites can spawn, those rooms are the ones that the Room Temperature is Higher than the total of the Temperature of the monsters in there.
- Than, spawn the minimun number of Elites, using the Elite Floor Pool, in random anchors in those rooms (distributing throughout the floor, and not room to room).
- If there is already a Elite in the room that the chosen ancor is located, randomly choose another room.
- If there is no more anchors available, ignore the rest of the minimun number.
- After that, spawn the minimun number of Corrupted monsters, using the Corrupted Floor Pool, in random anchors of the floor (distributing throughout the floor, and not room to room).
- If the Dungeon is the Tower of Potential, don't spawn Corrupted monsters.
- Ending the Minimun Spawn phase, try spawning more Elites, using the Elite Floor Pool in random anchors in the available rooms checked in the first step.
- If there is already a Elite in that room, skip it.
- If there is already a Corrupted Monster in that room, divide the Chance of Spawn by half and then try spawning it.
- If the Maximun number of Elites in the floor has been reached, skip to the next step.
- After that, try spawning more Corrupted Monsters, using the Corrupted Floor Pool. Selecting random rooms in the floor to check the available anchors until all rooms in the floor are checked.
- If the Dungeon is the Tower of Potential, don't spawn Corrupted monsters.
- Rooms can't be checked twice.
- If there is already a Corrupted Monster or Elite in the room, divide the Chance of Spawn by half.
- If the Maximun number of Corrupted Monsters has been reached, skip to the next step.
- At last, use the Corrupted Shrine system to corrupt the shrines from the floors.
Elite System
Every floor in every dungeon has it's Pool of elites that the system uses to randomly choose them.
The Tower of Potential has it's own Elite Spawn Table.
The Spawn Table must be easy to edit.
Elite Spawn Table Common Dungeon
| (Chance of Spawn - Min / Max) |
Floor 1 |
Floor 2 |
Floor 3 |
| 0 Bosses |
0% - 0 / 0 |
0% - 0 / 0 |
0% - 0 / 0 |
| 1 Boss |
5% - 0 / 2 |
10% - 0 / 4 |
15% - 0 / 6 |
| 2 Bosses |
10% - 0 / 4 |
15% - 1 / 6 |
20% - 2 / 8 |
| 3 Bosses |
15% - 2 / 6 |
20% - 3 / 8 |
25% - 4 / 8 |
| 4 Bosses |
20% - 4 / 8 |
25% - 5 / 8 |
30% - 6 / 8 |
| New Game + |
45% - 6 / 14 |
60% - 8 / 16 |
75% - 10 / 18 |
Corruption System
Spawning Corrupted Monsters
Every floor in every dungeon has it's Pool of corrupted monsters that the system uses to randomly choose them.
In New Game Plus, add the value from the New Game Plus Table to all chances in the Corruption Spawn Table.