I was theory crafting and came across the combination of Green-Flame Blade with the Battlemaster Fighter's Sweeping Attack maneuver. I understand that just fine. What I am unclear on is this:
I cast GFB and hit target. Then I activate Sweeping Attack to roll a Superiority Die to hit a second foe for the Dice's damage with the same attack (only if the original attack would hit the second foe's AC).
Point of contention: I am required to be able to hit second target with same attack then and only then do I do damage to the second target (The attack is the GFB). Then applying the superiority die as damage. This leads me to believe that because it specifies it being the same attack and that attack having an on-hit effect it should play out as the only thing changing for the second target is the initial weapon damage.
Edit: I see a lot of separation of the spell and an attack. Normally this is the case but in this instance with GFB as well as Booming Blade they are the same. They have spell ranges that are susceptible to spell alterations such as meta magics and feats like Spell Sniper as well.
I end up with one melee weapon attack that hits two different foes with two special effects added to the attack. Is this correct?
Weapon damage + GFB damage. GFB Jump damage to second target. Superiority Dice damage + GFB damage (because it is still the same attack correct?). GFB Jump damage to another target (possibly the original) ((because it states that this happens on a hit with an attack?)).