09-18-2022, 09:00 AM
(This post was last modified: 09-18-2022, 09:44 AM by Wisemonster.)
Yea, I'd love it if wraith was more common. Out of the two years I've been on goon, I've only played round-start wraith once, even though I've had it checked for the majority of my time playing. It doesn't help that due to how it's coded, round-start wraiths can't appear on the wizard, changeling, and spy thief game modes, and only have a 10% chance of appearing on traitor. (I'm unsure what the chances of a wraith spawning are on mixed and mixed_rp)
Ok, so I found out how the chances for a round-start wraith to spawn on the mixed gamemodes is calculated. Apparently, the game first needs to determine that at least 4 antags are spawned. If the game rolls less antags, it's impossible for a "major threat" antag to spawn (I.E. Wraith, Blob, Flock). Then, the chance that some antags are replaced with this major threat is calculated based on how many major threats are in the gamemode, multiplied by 10 (For example, in the vampire gamemode, which is a child of mixed, the only major threat is wraith, so there's a 10% chance that 2 of the current antags are replaced by a wraith. In the mixed (action) gamemode, there's a 30% chance to roll a major threat, and then a 1/3 chance that major threat is a wraith.)
Ok, so I found out how the chances for a round-start wraith to spawn on the mixed gamemodes is calculated. Apparently, the game first needs to determine that at least 4 antags are spawned. If the game rolls less antags, it's impossible for a "major threat" antag to spawn (I.E. Wraith, Blob, Flock). Then, the chance that some antags are replaced with this major threat is calculated based on how many major threats are in the gamemode, multiplied by 10 (For example, in the vampire gamemode, which is a child of mixed, the only major threat is wraith, so there's a 10% chance that 2 of the current antags are replaced by a wraith. In the mixed (action) gamemode, there's a 30% chance to roll a major threat, and then a 1/3 chance that major threat is a wraith.)