I am currently working on a multiclassed Ranger/Sorcerer character, and I have decided to take the Hunter ranger archetype. The Horde Breaker option for the Hunter's Prey feature seems to allow me to use the green-flame blade spell twice in one round.
Horde Breaker reads:
Once on each of your turns when you make a weapon attack, you can make another attack with the same weapon against a different creature that is within 5 feet of the original target and within range of your weapon.
This ability does not mention taking the Attack action, just making an attack.
The green-flame blade cantrip (SCAG, p. 143) reads:
As part of the action used to cast this spell, you must make a melee attack with a weapon against one creature within the spell’s range, otherwise, the spell fails. On a hit, the target suffers the attack’s normal effects, and green fire leaps from the target to a different creature of your choice that you can see within 5 feet of it. The second creature takes fire damage equal to your spellcasting ability modifier.
Green-flame blade also requires you to make an attack roll.
Am I missing anything, or can I cast green-flame blade twice in one round using this ability?