summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-18 17:49:03 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-18 17:49:03 +0000
commit989f1303311f146dfeb64ca5f3b4b2a568b7114a (patch)
tree97d5743b173a6daf94bd87b4189b36f10082c780 /crawl-ref/source/fight.cc
parent78c7c191e0ca1e9b95f244d5db670ba4b2f23121 (diff)
downloadcrawl-ref-989f1303311f146dfeb64ca5f3b4b2a568b7114a.tar.gz
crawl-ref-989f1303311f146dfeb64ca5f3b4b2a568b7114a.zip
Add more whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3708 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index ca8dbbdfc2..b6202ed5c6 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -175,10 +175,10 @@ static int calc_your_to_hit_unarmed(int uattack = UNAT_NO_ATTACK,
your_to_hit = 13 + you.dex / 2 + you.skills[SK_UNARMED_COMBAT] / 2
+ you.skills[SK_FIGHTING] / 5;
-
+
if (wearing_amulet(AMU_INACCURACY))
your_to_hit -= 5;
-
+
// vampires know how to bite and aim better when hungry
if (you.species == SP_VAMPIRE && uattack == UNAT_BITE)
{
@@ -193,7 +193,7 @@ static int calc_your_to_hit_unarmed(int uattack = UNAT_NO_ATTACK,
}
else if (you.species != SP_VAMPIRE && you.hunger_state <= HS_STARVING)
your_to_hit -= 3;
-
+
your_to_hit += slaying_bonus(PWPN_HIT);
return your_to_hit;