tModLoader [SOLVED] How do I set animated rarity colours?

Hey there!
I want to make an animated rarity (similar to vanilla's master mode rarity), so I took the code for it from ExampleMod.
Unfortunately, I have no idea how to use DiscoR, G and B. Is there a way to make the rarity cycle between three specific colours?

Here's the current code:
1714136873837.png


I'd greatly appreciate any help!
 
Last edited:
Back
Top Bottom