risk-of-thunder / R2API

A modding API for Risk of Rain 2
https://thunderstore.io/package/tristanmcpherson/R2API/
MIT License
136 stars 55 forks source link

ColorsAPI hooks are broken #516

Closed xiaoxiao921 closed 1 week ago

xiaoxiao921 commented 9 months ago

user state:

Add a color to the Color Catalog so I can set the color of my tier in game to be a custom color Also, turns out it IS returning the error ColorIndex. Which makes me think that the hooks are getting unset somewhere I made my own Utils that basically copies ColorsAPI exactly, but instead of using IL hooks, I use On hooks and it works

Nebby1999 commented 9 months ago

i know for a fact that at least the damage color index immplementation does work, so this might be related specifically to the regular color indices.

I say this because ss2 uses colorsAPI's damage color implementation and it works just fine.