From 6c05a8337e26b40f1cfebbf14cbc00ab0e2b6c8b Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Fri, 13 Nov 2009 14:51:31 +1000 Subject: 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. --- crawl-ref/source/enum.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/enum.h') 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 }; -- cgit v1.2.3-54-g00ecf