tModLoader Accessory Code help


Official Terrarian
Hi there,

I'm in the process of adding a new accessory to my mod (Crazy Defense) which will have a dodge effect when worn but i need help setting up the ModPlayer file with the effect and then applying it to the accessory

This is the code that needs to go in the ModPlayer file "return Main.rand.NextFloat() < 0.2f;" to give the acessory the dodge effect in some way

Thanks in Advance,
Last edited:
Top Bottom