summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-12-11 11:08:59 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-12-11 11:08:59 +0100
commit54c2ea1ac1ceb7926f2d489e1cbcc7e9a28f990a (patch)
tree493d2b959580683b31e88af7d8a0afb34d23be00 /crawl-ref/source/mon-util.h
parentb87399f832fec14917a0155bacb13b026efd9c2a (diff)
downloadcrawl-ref-54c2ea1ac1ceb7926f2d489e1cbcc7e9a28f990a.tar.gz
crawl-ref-54c2ea1ac1ceb7926f2d489e1cbcc7e9a28f990a.zip
Use AT_ not AF_ for WEAP_ONLY, so statues won't use bows like a cudgel.
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r--crawl-ref/source/mon-util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h
index a79260d378..bb36b38df7 100644
--- a/crawl-ref/source/mon-util.h
+++ b/crawl-ref/source/mon-util.h
@@ -53,7 +53,9 @@ enum mon_attack_type
AT_GORE,
AT_SHOOT, // Attack representing missile damage for M_ARCHER.
- AT_RANDOM // Anything but AT_SHOOT.
+ AT_WEAP_ONLY, // Ranged weap: shoot point-blank like AT_SHOOT, melee weap:
+ // use it, no weapon: stand there doing nothing.
+ AT_RANDOM // Anything but AT_SHOOT and AT_WEAP_ONLY.
};
enum mon_attack_flavour
@@ -85,8 +87,7 @@ enum mon_attack_flavour
AF_NAPALM,
AF_CHAOS,
AF_STEAL,
- AF_STEAL_FOOD,
- AF_WEAP_ONLY // AF_PLAIN if wielding a weapon, nothing if not
+ AF_STEAL_FOOD
};
// Non-spell "summoning" types to give to monsters::mark_summoned(), or