summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-damage.h
diff options
context:
space:
mode:
authorDracoOmega <draco_omega@live.com>2013-01-03 11:33:32 -0330
committerelliptic <hyperelliptical@gmail.com>2013-01-28 03:51:46 -0500
commit109aa9c8dd81358aea81ee88262f00e958425f03 (patch)
treeb5562fcebefc70fad4e95ece8ae111e6c89ee19f /crawl-ref/source/spl-damage.h
parentec876fccf7c9031b0e43033575a4c0bd9b6067ed (diff)
downloadcrawl-ref-109aa9c8dd81358aea81ee88262f00e958425f03.tar.gz
crawl-ref-109aa9c8dd81358aea81ee88262f00e958425f03.zip
Add Dazzling Spray spell
This is a level 3 conjuration/hexes spell which fires a fan of up to three projectiles that have an HD-based chance of temporarily blinding any creature they hit which is neither undead nor nonliving. The central spray uses stardard beam targeting, while the other two will aim at the closest visible hostiles within a small angle of the primary target.
Diffstat (limited to 'crawl-ref/source/spl-damage.h')
-rw-r--r--crawl-ref/source/spl-damage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-damage.h b/crawl-ref/source/spl-damage.h
index 3b3d2e0073..e343f6ca49 100644
--- a/crawl-ref/source/spl-damage.h
+++ b/crawl-ref/source/spl-damage.h
@@ -47,4 +47,8 @@ actor* forest_near_enemy(const actor *mon);
void forest_message(const coord_def pos, const string &msg,
msg_channel_type ch = MSGCH_PLAIN);
void forest_damage(const actor *mon);
+
+vector<bolt> get_spray_rays(const actor *caster, coord_def aim, int range, int max_rays);
+spret_type cast_dazzling_spray(actor *caster, int pow, coord_def aim,
+ bool fail = false);
#endif