summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-29 04:31:56 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-29 04:31:56 +0000
commit7eb88ac6c9a9b34224f00de24a60b3233862163e (patch)
tree378ca9560d5a0797eef944b90536f5d9d66ac50d /crawl-ref/source/mon-util.h
parent1b797bc0f6e459df77ad03772863ecc7786e94c2 (diff)
downloadcrawl-ref-7eb88ac6c9a9b34224f00de24a60b3233862163e.tar.gz
crawl-ref-7eb88ac6c9a9b34224f00de24a60b3233862163e.zip
Apply patch [1816945], adjusted slightly: Move the quality of a
monster's wielding two weapons to a bit in the monster struct, instead of hardcoding a list of such monsters in mons_wields_two_weapons(). Courtesy of bobbens. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2931 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r--crawl-ref/source/mon-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index 3c39e81179..df9fe62f34 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -118,6 +118,8 @@ enum mons_class_flags
M_WALL_SHIELDED = (1<<24), // Shielded from attacks if in wall
+ M_TWOWEAPON = (1<<25), // wields two weapons at once
+
M_SPECIAL_ABILITY = (1<<26), // XXX: eventually make these spells?
M_NO_SKELETON = (1<<29), // boneless corpses