projects
/
crawl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Add two new Ru sacrifices: resistance and eye
[crawl.git]
/
crawl-ref
/
source
/
attack.cc
diff --git
a/crawl-ref/source/attack.cc
b/crawl-ref/source/attack.cc
index
ee6211e
..
014dd7e
100644
(file)
--- a/
crawl-ref/source/attack.cc
+++ b/
crawl-ref/source/attack.cc
@@
-258,9
+258,7
@@
int attack::calc_to_hit(bool random)
}
// Penalties for both players and monsters:
-
- if (attacker->inaccuracy())
- mhit -= 5;
+ mhit -= 5 * attacker->inaccuracy();
// If you can't see yourself, you're a little less accurate.
if (!attacker->visible_to(attacker))