Omniscye-GambleJumping icon

GambleJumping

Every time you jump, there's a 20% chance you'll explode. Works in singleplayer and multiplayer. Only the cursed player needs the mod.

Last updated 2 days ago
Total downloads 256
Total rating 1 
Categories Mods Client-side
Dependency string Omniscye-GambleJumping-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

Zehs-REPOLib-2.1.0 icon
Zehs-REPOLib

Library for adding content to R.E.P.O.

Preferred version: 2.1.0
BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

GambleJumping

GambleJumping is a cursed gameplay mod for R.E.P.O. that adds a dangerous twist to your movement: every jump has a 20% chance to instantly kill you. Think you're lucky? Prove it.

This mod works both in singleplayer and multiplayer, and only the cursed player needs to install it. Happy jumping… or not!

What It Does

  • Adds a 20% chance to explode every time you press jump
  • Works in singleplayer and multiplayer
  • Only affects YOU – other players aren't cursed (unless they install it too)
  • Jumping is normal… unless RNG decides otherwise

How It Works

  • Hooks into the PlayerAvatar.Jump() method using Harmony
  • Every jump triggers a random roll between 0 and 1
    • If the roll is under 0.2, you're marked for self-destruction
  • After a short delay (0.2s):
    • If you're in multiplayer, it calls ChatManager.PossessSelfDestruction() to handle synced death
    • If you're in singleplayer, it damages the player directly or calls PlayerDeath(-1)

Compatibility

  • Fully functional in both singleplayer and multiplayer
  • Compatible with most mods
  • Only the cursed player needs the mod installed
  • Will not affect other players unless they have it too

Technical

  • Uses Harmony to patch PlayerAvatar.Jump
  • Detects multiplayer status with GameManager.Multiplayer() and Photon checks
  • Singleplayer path uses player.playerHealth.Hurt() or PlayerDeath()
  • Multiplayer path uses ChatManager.PossessSelfDestruction() (similar to my ScreamDeath mod)
  • Extensive logging included for debugging roll outcomes and mode detection

Credits

Created by OmniScye
Jump high. Die trying. Or… get lucky.