diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-26 22:11:18 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-06-26 22:25:41 -0700 |
commit | 1cb8be525c6226553c34b5681454b59a6065eb86 (patch) | |
tree | 891cfa141c809bce76558d88157165012576f4dd /crawl-ref/source/godabil.h | |
parent | e460ca6889f4927036b8afac6430402c52d48d21 (diff) | |
download | crawl-ref-1cb8be525c6226553c34b5681454b59a6065eb86.tar.gz crawl-ref-1cb8be525c6226553c34b5681454b59a6065eb86.zip |
Make Fedhas Sunlight not fail before targeting
Diffstat (limited to 'crawl-ref/source/godabil.h')
-rw-r--r-- | crawl-ref/source/godabil.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/godabil.h b/crawl-ref/source/godabil.h index bbe21991c4..fa8c4b283f 100644 --- a/crawl-ref/source/godabil.h +++ b/crawl-ref/source/godabil.h @@ -8,6 +8,7 @@ #include "enum.h" #include "externs.h" +#include "spl-cast.h" #define BEOGH_WPN_GIFT_KEY "given beogh weapon" #define BEOGH_ARM_GIFT_KEY "given beogh armour" @@ -58,7 +59,7 @@ bool fedhas_passthrough(const monster* target); bool fedhas_passthrough(const monster_info* target); bool fedhas_shoot_through(const bolt& beam, const monster* victim); int fedhas_fungal_bloom(); -bool fedhas_sunlight(); +spret_type fedhas_sunlight(bool fail = false); void process_sunlights(bool future = false); bool prioritise_adjacent(const coord_def& target, vector<coord_def>& candidates); bool fedhas_plant_ring_from_fruit(); |