coconut-EquationInvasion icon

EquationInvasion

Mathematical enemies and shop skins, plus Riemann's Revenge: integrate six seconds of damage into an explosive Lunar item.

By coconut
Last updated 2 days ago
Total downloads 13
Total rating 0 
Categories AI Generated
Dependency string coconut-EquationInvasion-1.1.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

RiskofThunder-R2API_Language-1.1.0 icon
RiskofThunder-R2API_Language

API for modifying the language localisation of the game

Preferred version: 1.1.0
RiskofThunder-R2API_Core-5.3.0 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.3.0
RiskofThunder-R2API_Items-1.0.8 icon
RiskofThunder-R2API_Items

API for adding custom items

Preferred version: 1.0.8
bbepis-BepInExPack-5.4.2122 icon
bbepis-BepInExPack

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

Preferred version: 5.4.2122
RiskofThunder-R2API_RecalculateStats-1.7.0 icon
RiskofThunder-R2API_RecalculateStats

API for manipulating Character Stats

Preferred version: 1.7.0

README

Equation Invasion v1.1.2 — Riemann’s Revenge update

The final exam invaded Risk of Rain 2. This version replaces the original copycat Cursed Eigenvalue Lunar item with Riemann's Revenge and keeps all the enemy/chest/multishop features.

Three math-themed enemy variants

  • Derivative Lemurian — speedier Lemurians with orange calculus orbitals and server-owned math shockwaves.
  • Eigen Golem — purple, tougher Golems with a larger mathematical shockwave.
  • Integral Wisp — cyan Wisps with bonus attack speed and armor, plus math shockwaves.

These modify vanilla enemy bodies; they are not independent spawn cards or custom 3D enemy models.

Chest and multishop visuals

  • Chests: purple calculus-themed tint and spinning formula plaques.
  • Multishops: cyan matrix-themed tint and rotating decorations.

These are runtime overlays on existing models, not standalone 3D skin replacements.

New Lunar item — RIEMANN'S REVENGE

Actual formula: A = Σ d_i, the sum of eligible damage during a six-second integration window; blast damage = A × (0.50 + 0.15 × (stacks − 1)).

  • The first eligible hit starts a six-second timer. Each qualifying hit during the timer adds its actual dealt damage to a sum.
  • When the interval ends, the holder unleashes a 16-meter area blast for 50% of the sum.
  • Each additional item stack adds 15 percentage points of stored-damage conversion and 4 meters of radius (no radius cap).
  • Lunar drawback: −15% attack speed, with an additional 15 percentage points per stack (penalty capped at 70%). No max-health drawback and no raw damage buff.
  • No damage is stored if there are no eligible enemy hits; zero-proc hits (including the item's own AoE), non-positive damage, and allied hits are ignored.
  • Damage accumulation is bounded at 200× the attacker's current damage stat for each window to avoid numeric explosions in heavily modded runs.
  • If the character dies or loses all stacks before detonation, the stored damage is lost.
  • The item has a custom formula icon and floating Riemann rectangles in its pickup model.

Where: Newt's Bazaar Between Time (blue shop). The host attempts to stock one Lunar Bud with the item on each Bazaar visit; normal Lunar item pool participation remains. Turn off AlwaysStockOneAtNewt to leave shop stock random.

Multiplayer

Install the same DLL, assets and version on the host and all clients. The outgoing-damage event and AoE blast run on the server. Stat penalties apply on both ends. This release has not yet been gameplay-tested in a live multiplayer lobby; gameplay and Bazaar compatibility are not guaranteed.

Installation

Install with r2modman or Thunderstore Mod Manager. BepInExPack and the required R2API modules (Core, Items, Language, RecalculateStats) are installed automatically as dependencies. Everyone in the lobby needs the same version.