Moonlight Greatsword (5e Equipment)
From D&D Wiki
Weapon (greatsword), legendary (requires attunement)
When blue moonlight dances around the sword, and it channels the abyssal cosmos, its great blade will hurl a shadowy lightwave. Few have ever set eyes on the great blade, and whatever guidance it has to offer, it seems to be of a very private, elusive sort.
You gain +3 to attack and damage rolls made with this magic weapon. If you are a caster capable of wielding arcane magic you are considered proficient with this weapon. You can use your spellcasting ability modifier instead of your Strength modifier for attack and damage rolls. This weapon deals force damage instead of slashing. This weapon has 10 charges. When you make an attack, you can spend a charge to make a ranged attack (30 ft range) using the sword’s magic essence. This deals an additional 2d6 force damage. It regains 1d8+1 expended charges daily at dawn.
Moonlight Burst: As an action, you can drive the Holy Moonlight Sword into the ground, causing a burst of arcane energy to shockwave upwards. Any creature in a 20 ft radius and 20 ft cylinder centered on you must succeed a Dexterity Saving throw equal to your spell casting or Intelligence DC or take 1d12 radiant and 1d12 force damage (This becomes 2d6 radiant and force and then 2d8 radiant and force after unlocking "Moonlight slash" and "Moonlight Combo" respectively) on a failure and half as much on a success. You can perform this ability once, and regain use of it at dawn.
Moonlight Slash: When you attack with the Holy Moonlight Sword in its transformed state, you can choose to send out a wave of Moonlight energy with the slash. A crescent of arcane energy flies from the blade in a 30 ft long, 5 ft wide line in the direction you attacked. Any creature in the line must succeed a Dexterity Save equal to 8 + your spell casting modifier or Intelligence DC + your Proficiency modifier, taking 4d12 (becoming 8d6 after "Moonlight Combo" is Unlocked) radiant damage on failure and half as much on a success. The creature hit by the initial attack automatically fails its saving throw.