The stat damage bonus for crossbows is primarily based on strength and partly on agility. For bows, it is primarily on agility and partly strength.