tModLoader How to make ranged weapons that take up no ammo?

I am brand new to making mods for Terraria, and one thing I could not find in the documentation is how to make a ranged weapon that does not require ammo. I found how to make a weapon with x% chance to not consume ammo, but that would still require ammo in the player's inventory. Thanks alot!
 
I am brand new to making mods for Terraria, and one thing I could not find in the documentation is how to make a ranged weapon that does not require ammo. I found how to make a weapon with x% chance to not consume ammo, but that would still require ammo in the player's inventory. Thanks alot!
To not consume ammo, essentially you need to not set a couple of variables, primarily ammo and useAmmo. If those variables aren't set, your weapon shouldn't consume (or require) ammo.
 
Back
Top Bottom