Rainbow Gun



The Rainbow Gun is a post-Plantera Hardmode magic weapon found in the Dungeon's Hallowed Chest, once unlocked with a Hallowed Key. It consumes 20 Mana per shot, and launches a rainbow beam that travels in a straight line for a short distance before curving downwards. The rainbow persists for 10 seconds, or until another rainbow is fired, and any enemy in or moving into its path takes 45 damage repeatedly, approximately 5 times per second.

The best possible Modifier for this weapon is Mythical.

Physics

 * When firing vertically up, the beam will travel straight for approximately 65 blocks before curving.
 * When firing 45 degrees, diagonally, the beam will travel approximately 4 blocks before curving.
 * When firing horizontally, the beam will travel straight for approximately 35 blocks before curving.
 * When firing vertically down, the beam travels straight for a maximum of 750 blocks, then fades.

Tips

 * The Rainbow Gun is extremely effective with the Spectre Mask as it does constant damage and since counting as magic damage that puts the set bonus into play.
 * This weapon will pierce infinitely until it fades, and is a great weapon against enemies with multiple segments; such as The Destroyer, as it will damage each section simultaneously inflicting tremendous damage. Because of this, it is potentially possible to defeat the Eater of Worlds or even The Destroyer with a single shot, given the player has appropriate gear and other preparations.
 * The Rainbow Gun is also exceptionally powerful against walking creatures or teleporting creatures. In the Hardmode post-Plantera Dungeon, if the player puts their back to the wall, and has only one passage leading into the room they are in, they can lay down a rainbow that eliminates every enemy that comes at them besides the occasional Cursed Skull or Paladin.
 * For the same reasons, the weapon is exceptionally potent against invasions.