You hurl an orb of energy at a target within range. Choose Acid, Cold, Fire, Lightning, Poison, or Thunder for the type of orb you create, and then make a Ranged spell attack against the target. On a hit, the target takes 3d8 damage of the chosen type.
If you roll the same number on two or more of the d8s, the orb leaps to a different target of your choice within 30 feet of the target. Make an Attack roll against the new target, and make a new damage roll.
The orb can leap a maximum number of times equal to the level, and a creature can be targeted only once by each casting of this spell.
Upcasting. The damage increases by 1d8 for each spell level above 1st.