diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-08 12:12:55 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-08 12:14:23 +1000 |
commit | 52b47e9dd004853b02eee608b0e023dd2011e1d0 (patch) | |
tree | 98a37c16c6edab22a9155825242ee10fd3f98f9f /crawl-ref/source/mon-util.h | |
parent | 9d183aa841a13505fa057184c70f96406024e52d (diff) | |
download | crawl-ref-52b47e9dd004853b02eee608b0e023dd2011e1d0.tar.gz crawl-ref-52b47e9dd004853b02eee608b0e023dd2011e1d0.zip |
Change hard-coded _give_wand exceptions to class flags.
New class flags: M_NO_WAND. Do not give this unique a wand. Currently
applied to Gastronok, removing the hard-coded exception. M_NO_HT_WAND:
don't give a high-tier wand to this monster, even if their HD is 5 or
higher.
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index 6e1728fcfe..578d3adddc 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -113,8 +113,8 @@ enum mons_class_flags M_PRIEST = (1<< 2), // monster is a priest, M_FIGHTER = (1<< 3), // monster is skilled fighter - M_UNUSED_1 = (1<< 4), - M_UNUSED_2 = (1<< 5), + M_NO_WAND = (1<< 4), // do not give (unique) a wand + M_NO_HT_WAND = (1<< 5), // do not give a high tier wand M_INVIS = (1<< 6), // is created invis M_SEE_INVIS = (1<< 7), // can see invis |