summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-damage.h
diff options
context:
space:
mode:
authorgammafunk <gammafunk@gmail.com>2014-03-05 22:39:13 -0600
committergammafunk <gammafunk@gmail.com>2014-03-06 11:47:33 -0600
commit2f0dee958f5c89741639812ce72daf06e96ad4f0 (patch)
tree7a16e63e5661598b38c2a2bb7f1858dadffca19b /crawl-ref/source/spl-damage.h
parent5a102a04c5b39f33ebbe846f20f302ec80e34798 (diff)
downloadcrawl-ref-2f0dee958f5c89741639812ce72daf06e96ad4f0.tar.gz
crawl-ref-2f0dee958f5c89741639812ce72daf06e96ad4f0.zip
Allow ghost casting of dazzling spray (Grunt).
Player ghosts can now have dazzling spray, which sets confusion based on an XL check that's the same as used when blinding monsters. This commit is mostly based on Grunt's commit 0d12a004 in the glaciate-testing branch and cleaned up some for trunk, with some aspects reorganized.
Diffstat (limited to 'crawl-ref/source/spl-damage.h')
-rw-r--r--crawl-ref/source/spl-damage.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-damage.h b/crawl-ref/source/spl-damage.h
index 481695895f..76d2d7f903 100644
--- a/crawl-ref/source/spl-damage.h
+++ b/crawl-ref/source/spl-damage.h
@@ -54,8 +54,7 @@ void forest_damage(const actor *mon);
vector<bolt> get_spray_rays(const actor *caster, coord_def aim, int range,
int max_rays, int max_spacing = 3);
-spret_type cast_dazzling_spray(actor *caster, int pow, coord_def aim,
- bool fail = false);
+spret_type cast_dazzling_spray(int pow, coord_def aim, bool fail = false);
spret_type cast_toxic_radiance(actor *caster, int pow, bool fail = false,
bool mon_tracer = false);