FunkFrog / ShareSuite

Risk of Rain 2 Item, Money, & Equipment sharing mod build upon BepInEx
https://thunderstore.io/package/FunkFrog-and-Sipondo/ShareSuite/
GNU General Public License v3.0
39 stars 26 forks source link

Fix shrine of blood scaling #14

Closed Texnical closed 5 years ago

Texnical commented 5 years ago

This pulls in the existing instance of the shrine of blood on health cost interactions to grab its instantiated gold to hp ratio instead of overriding its value with the default of 0.5. From my tests, it appeared to be working, but it could probably use some extra tests.

TheRealElysium commented 5 years ago

The same formula should be used for purchaseDiff as well otherwise this will likely lead to the interactor and the team getting different amounts of gold if goldPaidToHpRatio ever changes.

Texnical commented 5 years ago

Oh, now you chime in. :P Feel free to throw in a commit, though. I'll be busy for quite a while.