muckers-DiosBestFriend icon

DiosBestFriend

Adds Risk of Rain 2's Dio's Best Friend as an Orange powerup: on death it is consumed and you revive with full health and 3s of invulnerability. Everyone in the lobby needs it.

By muckers
Last updated 11 hours ago
Total downloads 6
Total rating 0 
Categories Addons
Dependency string muckers-DiosBestFriend-0.1.1
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack_Muck-5.4.1101 icon
BepInEx-BepInExPack_Muck

BepInEx pack for Muck. Preconfigured and ready to use.

Preferred version: 5.4.1101

README

Dio's Best Friend

Adds Dio's Best Friend, a new Orange powerup, to Muck. The idea is Risk of Rain 2's consumable extra life.

On death, this item is consumed and you return to life with full health and 3 seconds of invulnerability. Both numbers are the defaults. Your own config can change them.

  • You revive where you died. Your inventory stays with you. There is no grave and no "has died" line.
  • One stack is used per revive. Extra stacks wait for the next death.
  • /kill is still a real death, including during the invulnerability window, so you can unstick yourself. Set KillCommandBypassesDio to false if you want /kill to spend a Dio instead. During the window that setting blocks /kill along with every other hit.
  • The item drops from Orange chests and shrines like any other Orange powerup.

SelfRevive and SelfReviveMultiplayer already offer a free self-revive. This mod is a loot item. You find it, you hold it, and death spends one stack.

Multiplayer

Every player needs this mod, and the same set of other powerup mods. A vanilla peer has no entry for the new id and will error when a Dio drops. Ids are assigned in mod order, so two players with different powerup mods will not agree.

Your config only changes your own revive. Muck already trusts the health your client reports.

In Versus, a player you "kill" while they hold a Dio does not get a kill credit. They never actually died.

Config

BepInEx/config/evan.muck.diosbestfriend.cfg (created on first launch):

Setting Default
InvulnerabilitySeconds 3 Seconds you cannot be damaged after a revive. 0 to 30. Values below 0.1 still last 0.1 seconds
ReviveHealthFraction 1 Fraction of max health and shield you come back with. 0 to 1. 0 comes back with 1 health
RefillHungerAndStamina true Also fill hunger and stamina. This avoids drowning again on the next tick
KillCommandBypassesDio true /kill is a real death and does not spend a stack, including during the invulnerability window
AnnounceInChat true Tell the lobby "(Dio's Best Friend) brought me back!"
ShowReviveEffect true Local gold burst on revive
GiveDioKey (none) Solo testing only. Debug key that gives you a stack. Example: F8

Credits

Original Dio's Best Friend design by Hopoo Games (Risk of Rain 2). Muck is Dani's. This mod contains no assets from Risk of Rain 2 or Muck. The icon is original.

Credits

Perk pickup (drop) model by Marshall.