diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-13 13:50:13 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-13 13:50:13 +0000 |
commit | 6b3f400a54d573521f844f34ad8a8b223c57c968 (patch) | |
tree | 2e916ac4de6cabc5b52ab5dcc2e426a2a65ecd7d /crawl-ref/source/enum.h | |
parent | 884fcefad29a596466ac963ab0aedfc902185960 (diff) | |
download | crawl-ref-6b3f400a54d573521f844f34ad8a8b223c57c968.tar.gz crawl-ref-6b3f400a54d573521f844f34ad8a8b223c57c968.zip |
Implementing merfolk monsters. There are two types, merfolk fighters,
and mermaids. The latter are more interesting. ;)
Whenever a mermaid sings there's a chance you get beheld, meaning you
cannot move away from the mermaid, that is cannot increase the
distance between you and her. (Because of the distance pecularities
this means at dist 1 you can only be NSW or E of the mermaid but not
the diagonal directions.)
If you manage to be beheld by several mermaids at the same time, your
movements have to respect the distance to all of them.
I've added a vector beheld_by that keeps track of beholding monsters
and makes checking distance and updating beholding status easier.
Merfolk are immune to the mermaid song.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2453 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 01048e2340..b2895d7eaa 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -983,6 +983,7 @@ enum duration_type DUR_CONF, DUR_PARALYSIS, DUR_SLOW, + DUR_BEHELD, DUR_HASTE, DUR_MIGHT, DUR_LEVITATION, @@ -1557,6 +1558,8 @@ enum monster_type // (int) menv[].type MONS_BLACK_BEAR, // 189 MONS_SIMULACRUM_SMALL, MONS_SIMULACRUM_LARGE, + MONS_MERFOLK, + MONS_MERMAID, // 193 //jmf: end new monsters MONS_WHITE_IMP = 220, // 220 MONS_LEMURE, |