Gungnir (5e Equipment)
From D&D Wiki
Weapon (Spear), legendary (Requires Attunement)
Gungunir is an exotic spear crafted from pure black ancient metal.
Gungnir's Will - While you are attuned to Gungnir, your current and maximum hit points increase by 20. When you make an attack roll with it and miss, your attack hits instead, and you lose hit points equal to the difference between your roll result and the target’s AC. When you roll a natural 1, you instead lose hit points equal to 5 + the difference between your roll result and the target’s AC.
Gungnir's Whisper - Gungnir’s thrown range is 100/300, and attacks with it do not suffer disadvantage for being at long range.When this spear is thrown, the wielder of this weapon may roll a d20 to instantly recall this weapon to their hand as a bonus action. On an even number, the spear returns, on an odd number, the spear holds into the ground unable to be removed by anyone but the wielder.
Gungnir's Loyalty - When you roll initiative and have Gungnir in hand, you can throw Gungnir to any distance within its maximum range. This throw cannot attack a creature. All enemies in a cone with a length equal to the distance that you throw the spear must roll a Wisdom saving throw (DC 18) or be frightened of you and up to five creatures you choose for 1 minute. No creature other than you can pick up Gungnir from where it lands, unless you are dead.