Ranged Weapon Attributes Fix

Ranged weapons had a mistake in their GetDamage function - they haven't
taken into account item attributes for years. With this change, ranged
weapons can have attributes added to them once again.

The attributes in question don't normally drop in-game on ranged
weapons, but admins can create them for events now.