Videowiz92-BossDropRewardDelay icon

BossDropRewardDelay

Adds a short delay between boss drops to prevent lagspikes/crashing at large drop counts. Updated for Hallowed Concepts.

Last updated a day ago
Total downloads 150
Total rating 0 
Categories Mods Tweaks Server-side AI Generated
Dependency string Videowiz92-BossDropRewardDelay-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2113 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2113
RiskofThunder-HookGenPatcher-1.2.5 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.5

README

Boss Drop Reward Delay

This mod adds a short delay between rewards from the teleporter drops. Modding can raise the number of drops to very high values (for example 16 players x 4 Shrines of the Mountain), and spawning them all in one frame causes a long lagspike or a crash. This mod releases them a few at a time instead.

Updated for Risk of Rain 2 Hallowed Concepts (game version 1.5.0).

How it works

The game still decides everything about the rewards: which items drop, the chance of a boss item replacing a normal drop, guaranteed boss drops (e.g. Aurelionite), Mountain Shrine bonuses, and the equal spacing of the items around the teleporter. The mod only delays when each item is spawned, so the items come out one after another in order around the teleporter platform.

If the stage changes before all items have dropped, the remaining items are discarded instead of spawning in the next stage.

Configuration

Settings are in the Risk of Options menu (if installed) or in BepInEx/config/com.Videowiz92.BossDropRewardDelay.cfg:

  • Delay Between Drops - seconds to wait between batches (default 0.3). Set to 0 to disable the delay.
  • Item Batch Size - how many items drop at once before waiting (default 1).

Compatibility

  • [Soft] Risk of Options - in-game sliders for the settings above.
  • Incompatible with the original BossDropRewardDelay by DestroyedClone and with CyphersBossDropRewardDelay (they would hook the same method). Uninstall them first.

Credits

All credit for the original idea and code goes to DestroyedClone, the author of the original BossDropRewardDelay. The original credits Moffein (IL code, consultation) and JeanJPNM (fixes and improvements). Thanks also to Cypher for CyphersBossDropRewardDelay, an earlier attempt at updating the mod.