disro-CleansingPoolReturns icon

CleansingPoolReturns

Adds ability for cleansing pools to spawn in any environment where regular shrines can spawn.

Last updated 16 hours ago
Total downloads 74
Total rating 1 
Categories Tweaks Server-side
Dependency string disro-CleansingPoolReturns-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
bbepis-BepInExPack-5.4.2108 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2108

README

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.

alt text

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