Chain Gun

The Chain gun is dropped from Santa-NK1 during the Frost Moon event. It is considered an upgrade from the Megashark, with all stats increased excluding the chance to not consume ammo, but it is significantly less accurate. With or without ranged armor, the weapon is quite potent and capable of the highest single-target, single-weapon DPS in Terraria.

The best modifier for this weapon is Rapid. The Godly prefix is an alternative if the user prefers not to use as much ammo at the cost of less damage over time.

DPS
With a near ideal ranger loadout of Celestial Charm, Destroyer Emblem, Ranger Emblem, and Sniper Scope all reforged to Menacing along with a Menacing accessory of the user's choice, and Shroomite armor (Mask), the Chain Gun is capable of a far highest damage output of any single weapon to a single target. It far exceeds the well-known Blizzard Staff and Razorpine. It is believed that the developers wanted Rangers to have the highest DPS as they no have no form of lifelink weaponry.

Advantages
Against the Candy Corn Rifle:
 * Higher chance to not consume ammo
 * Customizable ammunition
 * Longer range
 * Fastest ranged weapon available, even when the rifle has Unreal.

Disadvantages
Against the Candy Corn Rifle:
 * Bullets are much more costly
 * Bullets will never rip through multiple enemies (with the exception of meteor bullets)
 * Wide firing cone, bound to miss at medium and large distances (negated if the player is using Chlorophyte Bullets)
 * Deals less damage than the rifle