From 2bdb5cf7bc9a6136ded38eca54ae019dcf0c6beb Mon Sep 17 00:00:00 2001 From: dshaligram Date: Thu, 29 Mar 2007 12:50:22 +0000 Subject: 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 --- crawl-ref/source/fight.cc | 2 +- crawl-ref/source/player.cc | 2 +- 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: -- cgit v1.2.3-54-g00ecf