<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.jedimud.net/index.php?action=history&amp;feed=atom&amp;title=SLEEP_SPELL</id>
	<title>SLEEP SPELL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.jedimud.net/index.php?action=history&amp;feed=atom&amp;title=SLEEP_SPELL"/>
	<link rel="alternate" type="text/html" href="http://wiki.jedimud.net/index.php?title=SLEEP_SPELL&amp;action=history"/>
	<updated>2026-10-27T16:52:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://wiki.jedimud.net/index.php?title=SLEEP_SPELL&amp;diff=2747&amp;oldid=prev</id>
		<title>Guts: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.jedimud.net/index.php?title=SLEEP_SPELL&amp;diff=2747&amp;oldid=prev"/>
		<updated>2025-01-17T04:03:57Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:03, 17 January 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Guts</name></author>
	</entry>
	<entry>
		<id>http://wiki.jedimud.net/index.php?title=SLEEP_SPELL&amp;diff=2746&amp;oldid=prev</id>
		<title>JediMud&gt;Vincedq at 14:37, 3 June 2023</title>
		<link rel="alternate" type="text/html" href="http://wiki.jedimud.net/index.php?title=SLEEP_SPELL&amp;diff=2746&amp;oldid=prev"/>
		<updated>2023-06-03T14:37:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; SLEEP SPELL&lt;br /&gt;
 &lt;br /&gt;
 Level:     B7, J23, M7, R22              Cost:      25 mana&lt;br /&gt;
 Target:    one monster                   When:      non-combat&lt;br /&gt;
 Delay:     one combat round              Duration:  7 to 12 hours&lt;br /&gt;
 &lt;br /&gt;
 Effect:    Sleep puts the target to sleep.  Sleeping monsters sustain more damage when they are hit.  If a sleeping mobile is hit it will wake and fight normally.  The backstab skill never fails on a sleeping mobile, regardless&lt;br /&gt;
 of the player class attempting the backstab.&lt;br /&gt;
&lt;br /&gt;
 Code:&lt;br /&gt;
       if (!saves_spell(victim, SAVING_SPELL) &amp;amp;&amp;amp; GET_LEVEL(victim) &amp;lt; LVL_IMM) {&lt;br /&gt;
         af.type      = SPELL_SLEEP;&lt;br /&gt;
         af.duration  = 4+(GET_LEVEL(ch)&amp;gt;&amp;gt;2);&lt;br /&gt;
         af.modifier  = 0;&lt;br /&gt;
         af.location  = APPLY_NONE;&lt;br /&gt;
         af.bitvector = AFF_SLEEP;&lt;br /&gt;
         affect_join(victim, &amp;amp;af, FALSE, FALSE);&lt;br /&gt;
         if (GET_POS(victim)&amp;gt;POSITION_SLEEPING) {&lt;br /&gt;
           act(&amp;quot;You feel very sleepy ..... zzzzzz&amp;quot;,FALSE,victim,0,0,TO_CHAR);&lt;br /&gt;
           act(&amp;quot;$n goes to sleep.&amp;quot;,TRUE,victim,0,0,TO_ROOM);&lt;br /&gt;
           GET_POS(victim)=POSITION_SLEEPING;&lt;br /&gt;
         }&lt;br /&gt;
       } else&lt;br /&gt;
         send_to_char(&amp;quot;Nope.  Sorry... Try again.....\n\r&amp;quot;,ch);&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 Usage:  cast &amp;#039;sleep&amp;#039; &amp;lt;victim&amp;gt;&lt;br /&gt;
 sing &amp;#039;sleep&amp;#039; &amp;lt;victim&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 See also:  [[BACKSTAB|Backstab]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Because the sleep spell has a duration, use the bard song [[SUGGESTION|SUGGEST]] to put guards and other pesky aggro mobs to sleep infinitely.&lt;br /&gt;
[[Category:Bard]]&lt;br /&gt;
[[Category:Jedi]]&lt;br /&gt;
[[Category:Mage]]&lt;br /&gt;
[[Category:Ranger]]&lt;br /&gt;
[[Category:Spells]]&lt;/div&gt;</summary>
		<author><name>JediMud&gt;Vincedq</name></author>
	</entry>
</feed>