summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/enum.h
diff options
context:
space:
mode:
authorJude Brown <bookofjude@users.sourceforge.net>2009-11-13 14:51:31 +1000
committerJude Brown <bookofjude@users.sourceforge.net>2009-11-13 14:54:40 +1000
commit6c05a8337e26b40f1cfebbf14cbc00ab0e2b6c8b (patch)
treebdeeadb24ca7a72c465ab32560f96ba5a95d4b16 /crawl-ref/source/enum.h
parentbe0551c2205ac189be5558447625642553c80dd3 (diff)
downloadcrawl-ref-6c05a8337e26b40f1cfebbf14cbc00ab0e2b6c8b.tar.gz
crawl-ref-6c05a8337e26b40f1cfebbf14cbc00ab0e2b6c8b.zip
New monster spell: Sleep. Give sleep to Aizul.
Unlike Ensorcelled Hibernation, Sleep checks MR only, rather than MR and cold resistance. It also does not check monsters having SLEEP_WEARY. It will not act on something that is already sleep.
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r--crawl-ref/source/enum.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h
index e5f8b56b5d..d33a2ec149 100644
--- a/crawl-ref/source/enum.h
+++ b/crawl-ref/source/enum.h
@@ -247,20 +247,21 @@ enum beam_type // beam[].flavour
BEAM_PORKALATOR,
BEAM_HIBERNATION,
BEAM_BERSERK,
- BEAM_LAST_ENCHANTMENT = BEAM_BERSERK,
+ BEAM_SLEEP,
+ BEAM_LAST_ENCHANTMENT = BEAM_SLEEP,
// new beams for evaporate
- BEAM_POTION_STINKING_CLOUD, // 50
+ BEAM_POTION_STINKING_CLOUD,
BEAM_POTION_POISON,
BEAM_POTION_MIASMA,
BEAM_POTION_STEAM,
BEAM_POTION_FIRE,
- BEAM_POTION_COLD, // 55
+ BEAM_POTION_COLD,
BEAM_POTION_BLACK_SMOKE,
BEAM_POTION_GREY_SMOKE,
BEAM_POTION_MUTAGENIC,
BEAM_POTION_BLUE_SMOKE,
- BEAM_POTION_RAIN, // 60
+ BEAM_POTION_RAIN,
BEAM_POTION_RANDOM,
BEAM_LAST_REAL = BEAM_POTION_RANDOM,
@@ -2885,6 +2886,7 @@ enum spell_type
SPELL_FIRE_ELEMENTALS,
SPELL_EARTH_ELEMENTALS,
SPELL_AIR_ELEMENTALS,
+ SPELL_SLEEP,
NUM_SPELLS
};
@@ -3139,6 +3141,7 @@ enum zap_type
ZAP_CHAOS,
ZAP_SLIME,
ZAP_PORKALATOR,
+ ZAP_SLEEP,
NUM_ZAPS
};