Dudley
Official Terrarian
I have created a melee weapon that when swung, fires a projectile but also uses ammo up when fired (achieved through the item.shoot and item.useammo). It works as intended but I want the weapon to be able to swing normally even when out of ammo, so it can still be used like a traditional broadsword type weapon.
Sadly when ammo reaches 0 the weapon stops swinging. Is there anyway around this?
Thanks
______________________________________
Edit: SOLVED!! I applied the firing function to right click and left the left click as the regular swing.
Sadly when ammo reaches 0 the weapon stops swinging. Is there anyway around this?
Thanks
______________________________________
Edit: SOLVED!! I applied the firing function to right click and left the left click as the regular swing.
Last edited: