CleverRaven/Cataclysm-DDA — pull request #2279 by i2amroy (2013-08-01 23:09:53+00:00)
Title: A few ranged tweaks

This PR provides a buff/nerf to ranged attacks.
* Factor monster size in bullet "stun" effects (monster move count reduction). This stops a person with a small pistol from being able to take a jabberwock down without even getting hit by just nailing it in the face over and over again with bullets.
* Disabled some old code that was dependent upon the assumption that only buckshot type ammo had 4 or less dispersion. This ideally should run on a "SHOT" flag placed on the ammo, but I can't figure out how to create a function to check the ammo itself for flags.
* Updated the HARDTOSHOOT effects. Now instead of a flat 75% chance to miss the % is based on the total dispersion, with a minimum of a 50% chance to miss with 0 total dispersion from everything (stats, weapon, ammo, etc.).
* Increased the total maximum "grazing hit" limit to .8 from .7.
* Decreased the "grazing hit" total range minimum, now there is a new "Good hit!" that happens between criticals and normal hits.

Overall I think this comes out to a bit of a buff to ranged weapons, as well as fixing some of the unintended effects that were occurring due to the new low dispersion numbers of high-end weaponry's ammo.