You are viewing a potentially older version of this package. View all versions.
coconut-EquationInvasion-1.1.2 icon

EquationInvasion

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

By coconut
Date uploaded a week ago
Version 1.1.2
Download link coconut-EquationInvasion-1.1.2.zip
Downloads 25
Dependency string coconut-EquationInvasion-1.1.2

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.

CHANGELOG

Changelog

1.1.2

  • Additional stacks of Riemann's Revenge now reduce attack speed by 15 percentage points instead of 10.
  • First-stack attack-speed penalty remains 15%, and the total penalty remains capped at 70%.
  • All damage conversion, blast radius, enemies, shop appearance and Bazaar behavior are unchanged.

1.1.1

  • Riemann's Revenge now begins with a 16-meter blast radius (was 12 meters).
  • Stored-damage conversion starts at 50% (was 45%).
  • First-stack attack-speed penalty reduced to 15% (was 20%).
  • Additional stacks add 4 meters of blast radius (was 2 meters); the previous 20-meter radius cap was removed so extra stacks fully apply.
  • Additional stacks still add 15 percentage points of blast damage and 10 percentage points of attack-speed penalty, capped at 70% total penalty.

1.1.0

  • Removed Cursed Eigenvalue's Shaped Glass-like damage and max-health bonus/penalty.
  • Added Riemann's Revenge: sum six seconds of eligible outgoing damage, then convert 45% (+15 percentage points/stack) into a 12m (+2m/stack) area blast.
  • Added Lunar drawback of −20% attack speed (−10 additional percentage points per stack, capped at −70%).
  • Added server-owned damage integration and a no-proc AoE that cannot refill itself.
  • Replaced icon and pickup model with Riemann rectangles, mathematical identity and an integral sign.
  • Kept existing mathematical enemy variants and interactable visual decorations.

1.0.0

  • Initial source project.