angband/angband — pull request #112 by artes-liberales (2011-11-21 19:41:00+00:00)
Title: #1582 To-hit values not revealed by shooting

#1582 To-hit values not revealed by shooting

Bonus on ring of accuracy, ring of slaying,
and similar items, is now revealed when
shooting, and also when throwing.

Changes in:
attack.c (ranged_helper)
object.h
identify.c (new function wieldeds_notice_to_hit_on_attack)

Note: tried to imitate behaviour in py_attack_real.

Note: the new function in identify.c was introduced
to avoid revealing bonus on ring of damage.