Talk:Gunner/@comment-2003:6C:CA24:6100:8927:5B5A:4409:E2AE-20180710211309/@comment-64.135.148.249-20180710212353

From Above

◾If an attacking ship is equipped with both Gunner and IG-88D and there is a friendly IG-88B, and the attack misses, the attacking ship can then attack with a Cannon secondary weapon using the effect of IG-88B and then attack with the primary weapon using the effect of Gunner. (X-Wing FAQ, Version 4.4.0, Updated 10/27/2017)

So only the very first attack needs to miss, then you'll be able to do both the cannon secondary and then the primary from Gunner.