Auto-translated
Sorry if I'm repeating the question. There's a random castle, and somewhere on the map, there's a random creature, for example, level 5. How do I make it so that this creature is of the same faction as the castle? That is, you play for the first time, the castle is Dungeon, so a Hydra (and an upgraded one) appears there. You start over, the castle is now Necropolis, so an Archlich or a Higher creature appears there. From this, the second question arises: how do I make sure that an upgraded version appears, and what determines the level of the upgrade? Thank you.