summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ranged_attack.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-04-15 22:23:57 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2014-04-27 17:02:32 -0600
commitdcc5a8e748736d31d67d54582a96f8b88ec2dd54 (patch)
treef3942371de9d1cb3fd7b1d447321078ab28fa418 /crawl-ref/source/ranged_attack.h
parentdc91ade0243adba03fa5160dc3f0fb8aac84200c (diff)
downloadcrawl-ref-dcc5a8e748736d31d67d54582a96f8b88ec2dd54.tar.gz
crawl-ref-dcc5a8e748736d31d67d54582a96f8b88ec2dd54.zip
Hook up ranged_attack to the beam code.
Diffstat (limited to 'crawl-ref/source/ranged_attack.h')
-rw-r--r--crawl-ref/source/ranged_attack.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/ranged_attack.h b/crawl-ref/source/ranged_attack.h
index a8c94403ee..94ea78055b 100644
--- a/crawl-ref/source/ranged_attack.h
+++ b/crawl-ref/source/ranged_attack.h
@@ -5,10 +5,17 @@
class ranged_attack : public attack
{
+// Public Properties
+public:
+ int range_used;
+
// Public Methods
public:
ranged_attack(actor *attacker, actor *defender, item_def *projectile);
+ // Applies attack damage and other effects.
+ bool attack();
+
int calc_to_hit(bool);
private: