summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-11 16:40:19 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-11 16:40:19 +0000
commita5cc86cbd8bbfd53f3ce5321784e64d37fdc8cac (patch)
tree7c417259ac4f6fa427376dea36b61bcf331d36f9 /crawl-ref
parent4661402a536708e9c1f97415b9298bff2cd59719 (diff)
downloadcrawl-ref-a5cc86cbd8bbfd53f3ce5321784e64d37fdc8cac.tar.gz
crawl-ref-a5cc86cbd8bbfd53f3ce5321784e64d37fdc8cac.zip
Fixed typo that was resulting in super-accurate melee attacks.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1018 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/fight.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 859a8f2e62..889bbe7552 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -873,7 +873,7 @@ bool melee_attack::player_hits_monster()
#endif
return (to_hit >= def->ev
- || one_chance_in(3)
+ || one_chance_in(20)
|| ((mons_is_paralysed(def) || def->behaviour == BEH_SLEEP)
&& !one_chance_in(10 + you.skills[SK_STABBING])));
}