CleansingPoolReturns
Adds ability for cleansing pools to spawn in any environment where regular shrines can spawn.Cleansing Pool Returns
Adds ability for cleansing pools to spawn in any environment where regular shrines can spawn.
See How does it work? and https://riskofrain2.fandom.com/wiki/Cleansing_Pool for clarifications.

Supports Risk Of Options.
How does it work?
Basically it just:
- Looks through all loaded categories in the scene director
- Finds a 'Shrines' category
- Multiplies all card weights in the shrine category by 10
- Adds a shrine card with weight
3 * cleanseShrineChanceCoefficient
I multiply all card weights so that the weight stays kind of the same, like the game does for its stages.
Example:
RoR2/DLC2/villagenight/dccsVillageNightInteractables.asset
{name: Shrines, weight: 10, cards: [(iscShrineCombat, 3), (iscShrineBoss, 1), (iscShrineChance, 4)]}
RoR2/Base/foggyswamp/dccsFoggySwampInteractables.asset
{name: Shrines, weight: 10, cards: [(iscShrineBlood, 30), (iscShrineBoss, 10), (iscShrineChance, 40), (iscShrineCleanse, 3)]}
Options
-
cleanseShrineChanceCoefficient (default:
1)
Multiplier applied to the Cleanse Shrine spawn chance.spawn chance = 3 × cleanseShrineChanceCoefficient
Contact
In case of bugs or suggestions, you can open an issue on github or find me on RoR2 modding discord server under nickname disr0
