summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-29 12:50:22 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-29 12:50:22 +0000
commit2bdb5cf7bc9a6136ded38eca54ae019dcf0c6beb (patch)
tree244457c647b37e2bf03e3375017a8905fb2f8fec
parentddb27ea7e1053e11681897ac2fad56da344daa7c (diff)
downloadcrawl-ref-2bdb5cf7bc9a6136ded38eca54ae019dcf0c6beb.tar.gz
crawl-ref-2bdb5cf7bc9a6136ded38eca54ae019dcf0c6beb.zip
Further reduced the early-melee-boost.
Weakened dodging slightly - use dodging skill without the skill bump. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1120 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/fight.cc2
-rw-r--r--crawl-ref/source/player.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index ca1d3df729..39342aa138 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1969,7 +1969,7 @@ void melee_attack::player_calc_hit_damage()
// are stupidly powerful) -- GDL
potential_damage += slaying_bonus(PWPN_DAMAGE);
damage_done =
- potential_damage > 0? coinflip() + random2(potential_damage) : 0;
+ potential_damage > 0? one_chance_in(3) + random2(potential_damage) : 0;
damage_done = player_apply_weapon_skill(damage_done);
damage_done = player_apply_fighting_skill(damage_done, false);
damage_done = player_apply_misc_modifiers(damage_done);
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 29566cf85f..9fb78d2fd4 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -1768,7 +1768,7 @@ int player_evasion()
// Calculate the base bonus here, but it may be reduced by heavy
// armour below.
- int dodge_bonus = (skill_bump(SK_DODGING) * you.dex + 10)
+ int dodge_bonus = (you.skills[SK_DODGING] * you.dex + 10)
/ (20 - size_factor);
// Limit on bonus from dodging: