summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-data.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/spl-data.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/spl-data.h')
-rw-r--r--crawl-ref/source/spl-data.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-data.h b/crawl-ref/source/spl-data.h
index f7a118fb82..e8d212591e 100644
--- a/crawl-ref/source/spl-data.h
+++ b/crawl-ref/source/spl-data.h
@@ -2434,6 +2434,19 @@
},
{
+ SPELL_SLEEP, "Sleep",
+ SPTYP_ENCHANTMENT,
+ SPFLAG_DIR_OR_TARGET | SPFLAG_NOT_SELF,
+ 5,
+ 200,
+ LOS_RADIUS, LOS_RADIUS,
+ 0,
+ NULL,
+ true,
+ false
+},
+
+{
SPELL_NO_SPELL, "nonexistent spell",
0,
SPFLAG_TESTING,