summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ranged_attack.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-05-01 11:46:16 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-05-01 11:46:16 -0600
commit3b46fe60f283d3d26947e9f93c1c0a23e25e196c (patch)
tree3d57fa94eaf43c0c361a918281c6898e8231f70b /crawl-ref/source/ranged_attack.cc
parent5debce609e11d4c73fcf57d2eb89d62839cb7655 (diff)
downloadcrawl-ref-3b46fe60f283d3d26947e9f93c1c0a23e25e196c.tar.gz
crawl-ref-3b46fe60f283d3d26947e9f93c1c0a23e25e196c.zip
De-special-case throwing stone damage.
...by setting sling base damage to 2 and reducing the projectile damages by 2 each. With the new code this should be essentially identical to the current behaviour, but a lot of the damage values might end up changing anyway.
Diffstat (limited to 'crawl-ref/source/ranged_attack.cc')
-rw-r--r--crawl-ref/source/ranged_attack.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/crawl-ref/source/ranged_attack.cc b/crawl-ref/source/ranged_attack.cc
index bc48d82b50..8c636117f0 100644
--- a/crawl-ref/source/ranged_attack.cc
+++ b/crawl-ref/source/ranged_attack.cc
@@ -305,11 +305,6 @@ int ranged_attack::weapon_damage()
}
if (weapon)
dam += property(*weapon, PWPN_DAMAGE);
- else if (projectile->base_type == OBJ_MISSILES
- && projectile->sub_type == MI_STONE)
- {
- dam /= 2; // Special cases should go die. -- Grunt
- }
return dam;
}