[RPG] Can you combine Polearm Master, Tunnel Fighter, and Warcaster (with Repelling Blast)

dnd-5efeatsopportunity-attackunearthed-arcanaweapons

We have a player who is playing a Fighter with a level of Warlock, wielding a polearm, and they say they should be able to get the initial opportunity attack from Polearm Master when a foe enters their reach, then if the foe continues to move in they proc the Tunnel Fighter opportunity attack, which the character uses for an eldritch blast with the Repelling Blast invocation, knocking them back 10 feet…and then could hit them with Polearm Master again if they continue to advance.

Is this legal? I know the Polearm Master feat specifies (according to Mearls) that the opportunity attack from it has to be with the same weapon being used when the opportunity attack procs, but there seems to be no such limitation on Tunnel Fighter.

Best Answer

This does not work.

Your second opportunity attack is not an opportunity attack, rather, you are using your reaction per this clause from Tunnel Fighter:

you can use your reaction to make a melee attack against a creature that moves more than 5 feet while within your reach.

Notice "opportunity attack" is absent from this portion of the fighting style description, so it is not an opportunity attack.

War caster says:

When a hostile creature's movement provokes an opportunity attack from you, you can use your reaction to cast a spell at the creature, rather than making an opportunity attack.

Since the creature did not provoke an opportunity attack, you cannot use war caster to cast eldritch blast.