Wedge Antilles and Proton Torpedo

By Wags2, in X-Wing Rules Questions

Does Wedge use his ability (When attacking, reduce the defender's agility value by 1) when firing a Proton Torpedo or secondary weapon?

Thanks

Wedge's ability triggers when attacking - it doesn't specify primary or secondary weapon so it applies to both