summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-03 16:16:06 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-03 16:16:06 +0000
commitba3d08acb430062418484ed3e778474cd3b9482b (patch)
treea01b36b1d63b8a3b6a20f851175c2df214b28aea /crawl-ref/source/mon-util.h
parentc4d32f0ab799f5dde968e6886961dd4ac26033b1 (diff)
downloadcrawl-ref-ba3d08acb430062418484ed3e778474cd3b9482b.tar.gz
crawl-ref-ba3d08acb430062418484ed3e778474cd3b9482b.zip
Implement harpyes. They ...
* appear in bands of 2-5 * use bat like movement * may steal (= destroy) the player's food. Still needs a tile. Also, actually use the M_BATTY flag instead of hardcoding batty monsters. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7734 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r--crawl-ref/source/mon-util.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index add15efa74..b7536dee3f 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -81,7 +81,8 @@ enum mon_attack_flavour
AF_DISTORT,
AF_RAGE,
AF_NAPALM,
- AF_CHAOS
+ AF_CHAOS,
+ AF_STEAL_FOOD
};
// properties of the monster class (other than resists/vulnerabilities)
@@ -201,7 +202,7 @@ enum mon_resist_flags
MR_VUL_FIRE = (1<< 9),
MR_VUL_COLD = (1<<10),
- // melee armour resists/vulnerabilities
+ // Melee armour resists/vulnerabilities.
// XXX: how to do combos (bludgeon/slice, bludgeon/pierce)
MR_RES_PIERCE = (1<<11),
MR_RES_SLICE = (1<<12),
@@ -211,9 +212,9 @@ enum mon_resist_flags
MR_VUL_SLICE = (1<<15),
MR_VUL_BLUDGEON = (1<<16),
- // immune to stickiness of sticky flame.
- MR_RES_STICKY_FLAME = (1 << 17),
- MR_RES_STEAM = (1 << 18)
+ // Immune to stickiness of sticky flame.
+ MR_RES_STICKY_FLAME = (1<<17),
+ MR_RES_STEAM = (1<<18)
};
enum shout_type