diff options
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/beam.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index 5f5202b0a3..d00aeba43f 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -1219,6 +1219,13 @@ static void zappy( zap_type z_type, int power, struct bolt &pbolt ) pbolt.obvious_effect = true; break; } // end of switch + + if ( wearing_amulet(AMU_INACCURACY) ) + { + pbolt.hit -= 5; + if ( pbolt.hit < 0 ) + pbolt.hit = 0; + } } // end zappy() /* NEW (GDL): |