First, checkhttp://fonlinedocs.netii.net/tohit2.cThis is precise BTH algorithm from Fallout2. The same algorithm is implemented in fonline, but three things are not implemented:1. Influence of multixes critters blocking the way (they are treated as normal critters, and occupy only one, central hex instead of 7 hex circle).2. Light levels (engine does not provide functionality for that).3. Difficulty setting, but this is not needed nor desired, all works like in Normal combat difficulty.
player_sharpshooter_level is equal to the number of ranks of the sharpshooter perk, and is applied after the weapon perception modifier, so the perk works like giving a flat +8% bonus (except for the case of a crippled eye, where it works almost like that).
it looks like check_ranged_miss checks only ONE of those 1/6 bullets that missed their target