The function is a trigger for an animation and an alteration to the damage, it can be altered to change weapon function to melee.
No it is not. Obsidian actually come up with a new set of items call ammo which have modifiers on damage, condition, projectile et cetera.
