Rules
Magic Items
Magic Item List

Javelin of Lightning

Rarity:
Uncommon
Category:
Weapon
Whenever you make an attack roll with this magic weapon and hit, you can cause it to deal Lightning damage instead of Piercing damage. Lightning Bolt. When you throw this weapon at a target within 36 m of you, you can forgo the ranged attack roll and instead turn it into a bolt of lightning. This bolt forms a line 1.5 m wide between you and the target. The target and each other creature in the line (excluding you) make a DC 13 Dexterity saving throw, taking Lightning damage on a failed save, or half as much damage on a successful one. Immediately after dealing this damage, the weapon reappears in your hand. This property can't be used again until the next dawn.

Dungeon Master's Guide 2024 (SRD)