Laser Rifle

From Terraria Wiki
Jump to navigation Jump to search
Laser Rifle
  • Laser Rifle item spriteold Laser Rifle item sprite
Autofire
9999
Statistics
Type
Damage29 (Magic)
Knockback2.5 (Very weak)
Mana8 (0 with Meteor armor)
Critical chance4%
Use time12 (Very fast)
Velocity85 (effective)
RarityLight Red (Rarity level: 4)
Sell3 GC
Research1 required
Projectile created
  • Purple Laser
    Purple Laser
Sounds
Use
Obtained from Obtained from Obtained from
Classic Mode.png Classic
Expert Mode.png Expert
Master Mode.png Master
EntityQty.Rate
Treasure Bag(Desktop, Console and Mobile versions)
(Wall of Flesh)
Treasure Bag (Wall of Flesh)Treasure Bag
(Wall of Flesh)
(Desktop, Console and Mobile versions)
125%
Wall of FleshWall of Flesh.gifWall of Flesh125%
The Laser Rifle being fired.

The Laser Rifle is a Hardmode magic gun that has a 1/4 (25%) chance of being dropped by the Wall of Flesh. When used, it fires fast-moving purple lasers that can hit up to three enemies. The lasers will increase in damage, pierce, knockback and size (only visually) as they travel. While a full set of Meteor armor is equipped, the Laser Rifle costs no mana to use.

Its best modifier is Mythical.

Notes

  • The purple laser can travel for 2 seconds or 637.5 tiles before disappearing.[1]
  • The purple laser gets the following changes as it travels:[2]
    • For every 1.0625 tiles traveled, the laser's size is increased by 8.15% of its default value, capping out at a total 515.38% increase after traveling for 68 tiles. This change is only visual and does not affect the laser's hitbox.
    • For every 8.5 tiles traveled, the laser's damage is increased by 1-3, and its pierce count has a 50% chance to be increased by 1. These boosts can happen for up to 8 times, with the last one happening after traveling for 68 tiles. Therefore, the laser can get a total of 8-24 additional damage and 8 additional pierce.
    • The laser's knockback is multiplied by 1.0045x for every 1.0625 tiles traveled. This boost is capped at a total of 1.333x after traveling for 68 tiles.
  • The purple laser provides some faint light.

Tips

  • The Laser Rifle performs well in early Hardmode when paired with Meteor armor.

Trivia

  • The Laser Rifle can be considered an upgrade to the Space Gun.
  • A rifle is a gun with grooves in its barrel that cause the projectile to spin. However, this detail was often ignored in pulp magazines, making terms such as laser rifle or plasma rifle popular. In real life, a laser weapon would not need to have a rifled barrel, as there is no projectile to be spun.
  • The player can use the Laser Rifle while sleeping in a Bed. However, firing in a non-horizontal direction will wake them up.

History

  • Desktop 1.4.5.0:
    • Projectiles now grow larger, deal more damage and penetrate more enemies with distance.
    • Now has no mana cost when the Meteor armor is equipped.

References

  1. Information taken from the Desktop version Desktop 1.4.5.4 source code, method SetDefaults() in Terraria.Projectile.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.5.5.
  2. Information taken from the Desktop version Desktop 1.4.5.4 source code, method AI_001() in Terraria.Projectile.cs. The laser has 4 extraUpdates, meaning it gets updated 5 times per tick. It starts out with scale value of 0.65 which is then increased by 0.053 each update, and its knockback is also multiplied by 1.0045 each update. On every 8th update, its damage is increased by a random number from 1 to 3 and its penetrate stat is increased by either 0 or 1. These changes can only happen as long as the laser's scale value is smaller than 4, meaning they stop happening after 64 updates or 13 ticks. The weapon's velocity is 17, which means the laser moves 1.0625 tiles per update. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.5.5.