diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-04-30 04:07:57 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-04-30 05:31:30 +0100 |
commit | e2959ee4465d38c208917b573220d322470eb077 (patch) | |
tree | 68353985a7761d3a5058c1e5aa71fd68e88c327f /crawl-ref/source/mon-util.cc | |
parent | 54374eb4aad6ef8a4394de87c71983344095edfa (diff) | |
download | crawl-ref-e2959ee4465d38c208917b573220d322470eb077.tar.gz crawl-ref-e2959ee4465d38c208917b573220d322470eb077.zip |
Update some branch native monster lists
Make salamanders native in Snake, eyeballs in Slime, humans in Vaults.
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index dc7974bdad..25036c6c34 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -841,11 +841,12 @@ bool mons_is_native_in_branch(const monster* mons, || mons->type == MONS_HARPY; case BRANCH_SLIME: - return mons_genus(mons->type) == MONS_JELLY; + return mons_is_slime(mons); case BRANCH_SNAKE: return mons_genus(mons->type) == MONS_NAGA - || mons_genus(mons->type) == MONS_SNAKE; + || mons_genus(mons->type) == MONS_SNAKE + || mons_genus(mons->type) == MONS_SALAMANDER; case BRANCH_ZOT: return mons_genus(mons->type) == MONS_DRACONIAN @@ -853,6 +854,9 @@ bool mons_is_native_in_branch(const monster* mons, || mons->type == MONS_ORB_OF_FIRE || mons->type == MONS_DEATH_COB; + case BRANCH_VAULTS: + return mons_genus(mons->type) == MONS_HUMAN; + case BRANCH_CRYPT: return mons->holiness() == MH_UNDEAD; |