risk-of-thunder / R2API

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

OrbAPI: LightningOrbAPI #430

Open xiaoxiao921 opened 1 year ago

xiaoxiao921 commented 1 year ago

TheTimesweeper say: add a new lightningtype to this enum with a path and a duration, option for passing in a gameobject instead of the path, and spawning that if path is "". Then ProjectileProximityBeamController should just work with it. if I ever learn IL I'll do it but I have doubts about when/if that will ever be

RandomlyAwesome say: the lightning orb hardcoding needing attention is because other stuff depends on it like ProjectileProximityBeamController Though,honestly some variant of a generic "reserve me a value of this enum" might be useful a more general form of what we do for the ItemTags etc