diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-07 18:27:21 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-07 18:27:21 -0600 |
commit | 95e669439bd2101906f0814f5b17c758de69dadc (patch) | |
tree | 9e17dc130acecaf52ff038ca6a029f0929cbb4c0 /crawl-ref/source/ranged_attack.cc | |
parent | ec6b85c8be4f1bd2e62b3c95427ecd02014c7101 (diff) | |
download | crawl-ref-95e669439bd2101906f0814f5b17c758de69dadc.tar.gz crawl-ref-95e669439bd2101906f0814f5b17c758de69dadc.zip |
Rescale base throwing skill damage bonus.
Darts and stones get half bonus; other throwables get the full bonus.
Diffstat (limited to 'crawl-ref/source/ranged_attack.cc')
-rw-r--r-- | crawl-ref/source/ranged_attack.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/ranged_attack.cc b/crawl-ref/source/ranged_attack.cc index 71399ff3a5..8b4cdfc260 100644 --- a/crawl-ref/source/ranged_attack.cc +++ b/crawl-ref/source/ranged_attack.cc @@ -358,9 +358,9 @@ int ranged_attack::calc_base_unarmed_damage() if (is_launched(attacker, weapon, *projectile) == LRET_FUMBLED) return 0; - // The 20 is large rock base damage; they get the full bonus. + // Darts and stones get half bonus; everything else gets full bonus. return div_rand_round(attack::calc_base_unarmed_damage() - * property(*projectile, PWPN_DAMAGE), 20); + * min(4, property(*projectile, PWPN_DAMAGE)), 4); } int ranged_attack::calc_mon_to_hit_base() |