changing encounters probability

i want to make it so there are multiple types of enemies that can spawn for random encounters but i want 1 of them to be like a 1/15 chance to spawn compared to the other.
As you go into your Map settings for it's size, tileset etc. You can choose how high the priority is set for each encounter, 1 being the lowest and 9(10?) being the highest If I remember correctly. I guess you would want to go for either 2 or 1 for the encounter rate that is relatively close to 1/15.
The setting is "Weight". A random encounter with high weight appears more often. It's just ratios, e.g.
  • Troop A: weight 6.
  • Troop B: weight 3.
  • Troop C: weight 1.
Gives a total weight of 6 + 3 + 1 = 10. That means:
  • Troop A appears 6/10 = 60% of the time.
  • Troop B appears 3/10 = 30% of the time.
  • Troop C appears 1/10 = 10% of the time.
Spoiler: with regions
Only troops valid for the current tile will be considered. E.g. if troop A is only a valid encounter in region 1, then outside of that region the random encounters will be:
  • Troop B -> 3/4 = 75%; and
  • Troop C -> 1/4 = 25%.
Max weight per troop seems to be 100, which should be sufficient. You can add duplicates if needed.

Original thread: https://forums.rpgmakerweb.com/threads/changing-encounters-probability.165402/