ThunderRain

v2.0.0·Updated 2026-07-30

Shocks PiShocks in response to in-game damage events.

About this mod Author’s original text

ThunderRain

Operates PiShocks in response to in-game damage events.

Safety

Please configure shock maximums in the config and the share code.

2.0.0 - 2026-07-30

Changed

  • Replace calls to deprecated do.pishock.com to api.pishock.com #27
  • Replace PiShockShareCodes option with PiShockShockerIds

For the full changelog, see:

  • the GitHub releases page,
  • the changelog page, or
  • the local CHANGELOG.md file

Issue Reporting and Suggestions

  • Check the FAQ.
  • Contact me on Discord (quasikyo) or submit a new issue here.

Configuration

PiShock Info

  • PiShock Username
  • PiShock API Key generated on your PiShock account page
  • PiShock Shocker IDs
  • These are the 4-digit (potentially longer) IDs assigned to each shocker and can be found by clicking on the shocker's gear icon on the PiShock control panel. Consult PiShock's documentation for finding "Shocker Info"
  • Example: 8690

Activated By

The in-game triggers to enable.

  • Vibrations from dealing damage
  • Vibrations from receiving damage
  • Shocks from dealing damage
  • Shocks from receiving damage
  • Shocks on death
  • Vibrations from minions dealing damage
  • Vibrations from minions receiving damage
  • Shocks from minions dealing damage
  • Shocks from minions receiving damage

Operation Values

The base values that get scaled off of damage dealt relative to damaged entity's max health. In other words, the intensity of the operation is calculated by

baseValue * (damageDealt / maxHealthOfDamagedEntity)

  • Base duration of vibrations
  • Base intensity of vibrations when dealing damage
  • Base intensity of vibrations when receiving damage
  • Base duration of shocks
  • Base intensity of shocks when dealing damage
  • Base intensity of shocks when receiving damage
  • Maximums for vibration and shock durations and intensities

Operation Behavior

  • Time span over which to sum up intensity and duration
  • Shocker selection
  • All: affect all shockers
  • Random: only affect a random shocker
  • Account for damage dealt past the entity's max health

FAQ

Nothing happens when I take/deal damage. Is it broken?

If you see nothing in the logs, this is likely because your configuration isn't setup properly. You'll want to check which events you want the mod to respond to and then set appropriate base values. Keep in mind that these base values are multipled by the percent of damage dealt/taken based off your max health, so you'll want to set them a bit higher. See this thread for more.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

bbepis-BepInExPackRiskofThunder-R2API_CoreRune580-Risk_Of_Options

File & checksum

Filename
ThunderRain-2.0.0.zip
File size
45.9 KiB