You are viewing a potentially older version of this package. View all versions.
Phedg1Studios-DropOdds-1.0.1 icon

DropOdds

BETA - This mod will allow the relative drop chance of items, equipment and drop tiers to be changed. It will also allow the tiers of items and equipment to be changed.

Date uploaded 2 years ago
Version 1.0.1
Download link Phedg1Studios-DropOdds-1.0.1.zip
Downloads 11602
Dependency string Phedg1Studios-DropOdds-1.0.1

This mod requires the following mods to function

bbepis-BepInExPack-5.4.9 icon
bbepis-BepInExPack

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

Preferred version: 5.4.9
RiskofThunder-HookGenPatcher-1.2.1 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.1
tristanmcpherson-R2API-3.0.30 icon
tristanmcpherson-R2API

A modding API for Risk of Rain 2

Preferred version: 3.0.30

README

Phedg1 Studios - Drop Odds

BETA

This mod is the brainchild of @SeizaKokoro#1067, who paid me to create it. This mod would not have been possible without the incredible expertise iDeathHD.

You can contact me in the RoR2 modding discord as @Phedg1 Please note: I do not accept friend requests unless we have a mutual server. If you are a fan of my work and would like to support me, I now have a DONATION LINK.

TLDR

This mod will allow the relative drop chance of items, equipment and drop tiers to be changed. It will also allow the tiers of items and equipment to be changed.

DESCRIPTION

Items and equipment that are given to players in the game are selected based upon a relative drop chance. This means that items and equipment are not assigned a fixed chance of being dropped, like 5%, instead they are given a fixed weight. By default every item and piece of equipment has a weight of 1. The weight of every item and piece equipment in a particular drop tier is summed to give the drop chance. This means that if a chest is going to drop a common item and has 8 common items available, each item has a 1/8 chance of being selected. Using the above example, let's say that only the Tougher Times item was overridden and given a weight of 3 instead. The Tougher Time's item would have a 3/10 chance of being selected and every other item would have a 1/10 chance. This is a relative drop chance, every time the chance of one item is changed, the chances of every other item are also changed. This mod will allow the relative drop chance of items and equipment to be changed.

The game uses the same selection process to determine the tier of items and equipment to be dropped. Every tier has a weight. By default this is 0.8 for common, 0.2 for uncommon and 0.01 for legendary. Please note, this does not effect the chance of a particular chest being spawned, only the chances for which tier of item the chest will pick from those that are available to it. This mod will allow the relative drop chance of tiers to be changed.

Lastly, this mod will allow the tier of item to be overridden, so common items can be made legendary and lunar items can be made uncommon etc.

CONFIGURATION

After a player has launched the game for first time a configuration file will be created. This can be found at "<RISK OF RAIN 2 INSTALL LOCATION>/Risk of Rain 2/BepInEx/config/". If you desire to alter the configuration of the mod it must be done by editing this file.

** com.Phedg1Studios.DropOdds.cfg ** This file contains the settings for the mod. Whether it is enabled or disabled, the items and equipment to have their tier overridden, the relative drop chances for items and equipment to be overridden and the drop chances for tiers to be overridden.

CREDITS

** Education ** iDeathHD

** Supporters ** SeizaKokoro

** Support, Suggestions, Beta Testing and Bug Reports ** SeizaKokoro, rockynola

Changelog

** v1.0.1 **

  • Fixed adaptive chests preventing the teleporter from spawning.
  • Fixed config generating with illegal characters.

** v1.0.0 **

  • Initial release.