Implement weapon condition damage for ranged weapons (Fixes #1746)