diff options
author | Pete Hurst <pete@streamuniverse.tv> | 2013-06-23 02:41:07 +0100 |
---|---|---|
committer | Pete Hurst <pete@streamuniverse.tv> | 2013-06-23 02:43:30 +0100 |
commit | 799380530f2bc5cf3a036422bf7727e1fd9d7d29 (patch) | |
tree | f9a937eb7fb0697c3d9b1689fec912e2c418a6e6 /crawl-ref/source/mon-util.h | |
parent | 151d926e33d1d003cfc23956df55f5a7dcf60976 (diff) | |
download | crawl-ref-799380530f2bc5cf3a036422bf7727e1fd9d7d29.tar.gz crawl-ref-799380530f2bc5cf3a036422bf7727e1fd9d7d29.zip |
Allow random chimera to be created with MONS syntax
This enables a MONS spec to just be "chimera" and three depth-
appropriate monsters will be used. This can produce bizarre
results but might be useful. It should also allows things
like "place:Zot:5 chimera vs place:Pan chimera" in Arena.
The filters could be refined further to allow random chimera
to not be completely ridiculous.
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index 1a4e33c475..8def69147d 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -271,6 +271,7 @@ bool mons_can_display_wounds(const monster* mon); int mons_zombie_size(monster_type mc); monster_type mons_zombie_base(const monster* mon); bool mons_class_is_zombified(monster_type mc); +bool mons_class_is_hybrid(monster_type mc); monster_type mons_base_type(const monster* mon); bool mons_class_can_leave_corpse(monster_type mc); bool mons_is_zombified(const monster* mons); |