Shadow Bolt Volley

5th-level Evocation
Casting Time: 1 action
Range: 120 feet
Components: VS
Duration: (C) 3 rounds

You unleash a constant stream of lesser shadow bolts and lob them in the general direction of your foes. The shadow bolts obliterate an area within a 20-foot radius cube. The chaotic volley launches 6 shadow bolts at targets of your choice spell's area. Make a spell attack roll for each shadow bolt. On a hit, the target takes 1d8 shadow damage, and it can't regain hit points until the start of your next turn. These shadow bolts gain any benefits conferred to cantrips.
On each of your turns for the duration, you can use your action to hurl another volley of shadowbolts, though the new point of origin for the cube must be within 30 feet of the first. The spell ends early if you use your action to do anything else
At Higher Levels. When you cast this spell using a spell slot of 6th level or higher, the number of shadow bolts conjured each round increases by 2 for each slot level above 5th.

Source: Homebrew