diff options
-rw-r--r-- | crawl-ref/source/fight.cc | 2 | ||||
-rw-r--r-- | 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: |