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/player.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/player.h') diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index ebc18ba62f..430307a982 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -475,6 +475,7 @@ public: bool asleep() const; bool can_hibernate(bool holi_only = false) const; void hibernate(int power = 0); + void put_to_sleep(int power = 0); void awake(); void check_awaken(int disturbance); -- cgit v1.2.3-54-g00ecf