Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Enhanced OSP
Config One Shot Protection invuln time + curse (maxHP reduction) interaction.
| Date uploaded | 4 years ago |
| Version | 1.1.0 |
| Download link | VarnaScelestus-Enhanced_OSP-1.1.0.zip |
| Downloads | 588 |
| Dependency string | VarnaScelestus-Enhanced_OSP-1.1.0 |
This mod requires the following mods to function
bbepis-BepInExPack
Unified BepInEx all-in-one modding pack - plugin framework, detour library
Preferred version: 5.4.1900README
Enhanced OSP (One Shot Protection)
A simple mod that allows you to:
- Set the invincibility window granted by OSP. (default setting is 0.5s, Vanilla is 0.1s)
- Set the threshold of missing HP required before a player loses OSP. (default is 0.1, or 10% missing HP, same as Vanilla)
- Set whether sources of maxHP reduction such as Shaped Glass negatively impact OSP. (default is false, Vanilla is true)
You can reach me (Varna) in the RoR2 modding discord with any feedback!
Credits
ThinkInvis - For the location of the curse fraction setting + code I based my settings on.
Changelog
1.1.0 - Added two settings - one to control OSP threshold, and one to control whether maxHP reduction affects OSP (default false).
1.0.1 - Updated to work with SotV expansion. Removed R2API dependency.
1.0.0 - Initial release