diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-26 06:50:17 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-06-26 06:50:17 +0000 |
commit | 5f2f20b49792c771ebd67442042f97344e2a6a56 (patch) | |
tree | ec6ad4178ab09d03292a0ee3571521e169e61fa2 | |
parent | 9540dc0c39636e9baef2b3e04199aea0fcd3da52 (diff) | |
download | crawl-ref-5f2f20b49792c771ebd67442042f97344e2a6a56.tar.gz crawl-ref-5f2f20b49792c771ebd67442042f97344e2a6a56.zip |
Ghouls, necrophages and rotting hulks can drown in water.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1658 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/mon-util.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 1676fb498e..0eb69db713 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -2242,8 +2242,11 @@ bool monsters::floundering() const bool monsters::can_drown() const { - // Mummies can fall apart in water; demons can drown in water/lava. - return (!mons_res_asphyx(this) || mons_genus(type) == MONS_MUMMY + // Mummies can fall apart in water; ghouls and demons can drown in + // water/lava. + return (!mons_res_asphyx(this) + || mons_genus(type) == MONS_MUMMY + || mons_genus(type) == MONS_GHOUL || holiness() == MH_DEMONIC); } |