When you take the Attack action on your turn, you can replace one of the attacks with a casting of one of your Wizard cantrips that has a casting time of an action.
Spellshot
Raw data
{
"name": "Spellshot",
"level": 6,
"__prop": "subclassFeature",
"header": 2,
"source": "ValdaGunslinger",
"entries": [
"When you take the {@action Attack|XPHB} action on your turn, you can replace one of the attacks with a casting of one of your Wizard cantrips that has a casting time of an action."
],
"className": "Gunslinger",
"classSource": "ValdaGunslinger",
"subclassSource": "ValdaGunslinger",
"subclassShortName": "Spellslinger"
}