diff options
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 201bc02a90..d50d64d5b4 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -1959,7 +1959,8 @@ void melee_attack::player_calc_hit_damage() // (before randomization -- some of these rings // are stupidly powerful) -- GDL potential_damage += slaying_bonus(PWPN_DAMAGE); - damage_done = potential_damage > 0? 1 + random2(potential_damage) : 0; + damage_done = + potential_damage > 0? coinflip() + 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); |