diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-06 20:07:57 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-06 20:07:57 -0600 |
commit | daa30c611edf39766ff6f2071e2577e46fb24eed (patch) | |
tree | a7da3628f8b9c87265a22761ec1ae903a63bb53e /crawl-ref/source/godabil.h | |
parent | d7f17abd578fcf7298d9657423ae7a4b7e766fd3 (diff) | |
download | crawl-ref-daa30c611edf39766ff6f2071e2577e46fb24eed.tar.gz crawl-ref-daa30c611edf39766ff6f2071e2577e46fb24eed.zip |
Fix some instances of abilities failing when not useful (#8386).
Fixed: Fedhas' Reproduction (as in the Mantis issue) and Evolution.
Not fixed: Fedhas' Growth and anything that needs a target (Makhleb
destructions, breath weapons); that will require more thought.
Diffstat (limited to 'crawl-ref/source/godabil.h')
-rw-r--r-- | crawl-ref/source/godabil.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/godabil.h b/crawl-ref/source/godabil.h index 65c736d2f3..fe6fae7c76 100644 --- a/crawl-ref/source/godabil.h +++ b/crawl-ref/source/godabil.h @@ -60,10 +60,11 @@ bool prioritise_adjacent(const coord_def& target, vector<coord_def>& candidates) bool fedhas_plant_ring_from_fruit(); int fedhas_rain(const coord_def &target); int count_corpses_in_los(vector<stack_iterator> *positions); -int fedhas_corpse_spores(beh_type attitude = BEH_FRIENDLY, - bool interactive = true); +int fedhas_check_corpse_spores(); +int fedhas_corpse_spores(beh_type attitude = BEH_FRIENDLY); bool mons_is_evolvable(const monster* mon); -bool fedhas_evolve_flora(); +bool fedhas_check_evolve_flora(); +void fedhas_evolve_flora(); void lugonu_bend_space(); |