I am playing as a rogue and I enjoy attacking from a distance with my bow. However, sometimes things get up close and personal. As opposed to Origins and Awakening, you can't have two sets of weapons, so I can't easily switch from a ranged weapon to melee weapons. Hawke however doesn't seem to care and goes off melee attacking foes when they get too close.
So how is that melee damage, while a bow is equipped, determined? Is it only Dexterity with no other modifier? Does the ranged weapon somehow affect the melee damage? Is it worth changing to daggers when things get too hot, or is the difference usually negligible?