Primary attack at range 0

By GeneralZod217, in X-Wing Rules Questions

If a ship has a special ability allowing it to perform a primary attack at range 0, does it get to roll an additional dice as a range bonus?

Yes.

Yup.