summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-09-22 23:45:56 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-09-22 23:45:56 +0000
commit9f9c4f2e0d02a418ef369f5e071327af914bed00 (patch)
tree1c0985bf5f307af9c4822cfe49a72804772886ef
parentaa252547717a360b48fbd22be19805faa78101d9 (diff)
downloadcrawl-ref-9f9c4f2e0d02a418ef369f5e071327af914bed00.tar.gz
crawl-ref-9f9c4f2e0d02a418ef369f5e071327af914bed00.zip
Unarmed fighting speed somewhat nerfed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@88 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/fight.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 1e99ce93b5..0eaafa19a5 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -547,10 +547,11 @@ bool you_attack(int monster_attacked, bool unarmed_attacks)
if (you.burden_state == BS_UNENCUMBERED
&& one_chance_in(heavy_armour + 1))
{
- weapon_speed2 = 10 - you.skills[SK_UNARMED_COMBAT] / 3;
-
- if (weapon_speed2 < 4)
- weapon_speed2 = 4;
+ weapon_speed2 = 10 - you.skills[SK_UNARMED_COMBAT] / 5;
+
+ /* this shouldn't happen anyway...sanity */
+ if (weapon_speed2 < 5)
+ weapon_speed2 = 5;
}
}