Save on prep work by using the same red ancient dragon statblock for every single NPC, and just fluff things differently.
Descriptively, the goblin is firing its shortbow at you. Mechanically, they are breathing fire in a 90-foot cone, dealing 26d6 fire damage on a failed DC 24 Dexterity saving throw, and half as much damage on a successful one.