<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Talk%3AShambling_horror_%28Sporkhack%29</id>
	<title>Talk:Shambling horror (Sporkhack) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Talk%3AShambling_horror_%28Sporkhack%29"/>
	<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Talk:Shambling_horror_(Sporkhack)&amp;action=history"/>
	<updated>2026-06-04T05:08:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.5</generator>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Talk:Shambling_horror_(Sporkhack)&amp;diff=86583&amp;oldid=prev</id>
		<title>Ozymandias: Created page with &quot;Here are *some* of the Sporkhack details &lt;pre&gt; /* what a horrible night to have a curse */ 	shambler-&gt;mlevel += rnd(6)-3;				/* shuffle level */ 	shambler-&gt;mmove = rn2(10)+9;	...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Talk:Shambling_horror_(Sporkhack)&amp;diff=86583&amp;oldid=prev"/>
		<updated>2013-08-12T14:20:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Here are *some* of the Sporkhack details &amp;lt;pre&amp;gt; ‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;what a horrible night to have a curse: &lt;/span&gt; 	shambler-&amp;gt;mlevel += rnd(6)-3;				‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;shuffle level: &lt;/span&gt; 	shambler-&amp;gt;mmove = rn2(10)+9;	...&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here are *some* of the Sporkhack details&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/* what a horrible night to have a curse */&lt;br /&gt;
	shambler-&amp;gt;mlevel += rnd(6)-3;				/* shuffle level */&lt;br /&gt;
	shambler-&amp;gt;mmove = rn2(10)+9;				/* slow to very fast */&lt;br /&gt;
	shambler-&amp;gt;ac = rn2(21)-10;					/* any AC */&lt;br /&gt;
	shambler-&amp;gt;mr = rn2(5)*25;					/* varying amounts of MR */&lt;br /&gt;
	shambler-&amp;gt;maligntyp = rn2(21)-10;			/* any alignment */&lt;br /&gt;
	/* attacks...?  */&lt;br /&gt;
	for (i = 0; i &amp;lt; rnd(4); i++) {&lt;br /&gt;
		attkptr = &amp;amp;shambler-&amp;gt;mattk[i];&lt;br /&gt;
		attkptr-&amp;gt;aatyp = rn2(AT_GAZE);		/* limit it to semi-normal attacks for now */&lt;br /&gt;
		/* theoretically rnd(AT_GAZE)-3 should work since these are uchar, but&lt;br /&gt;
		 * let's not totally confuse the poor people browsing... */&lt;br /&gt;
		if (attkptr-&amp;gt;aatyp == AT_BOOM) {&lt;br /&gt;
			attkptr-&amp;gt;aatyp = AT_MAGC;&lt;br /&gt;
		}&lt;br /&gt;
		if (attkptr-&amp;gt;aatyp == AT_EXPL) {&lt;br /&gt;
			attkptr-&amp;gt;aatyp = AT_WEAP;&lt;br /&gt;
		}&lt;br /&gt;
		attkptr-&amp;gt;adtyp = 0;&lt;br /&gt;
		/* Don't let the special Rider attacks be used here &lt;br /&gt;
		 * ...everything else is fair game :D */&lt;br /&gt;
		while (attkptr-&amp;gt;adtyp == 0 || attkptr-&amp;gt;adtyp == AD_DETH ||&lt;br /&gt;
					attkptr-&amp;gt;adtyp == AD_PEST || attkptr-&amp;gt;adtyp == AD_FAMN ||&lt;br /&gt;
					attkptr-&amp;gt;adtyp == AD_SPC1 || attkptr-&amp;gt;adtyp == AD_SPC2) {&lt;br /&gt;
			attkptr-&amp;gt;adtyp = rnd(AD_CORR);&lt;br /&gt;
		}&lt;br /&gt;
		if (attkptr-&amp;gt;aatyp == AT_MAGC) {&lt;br /&gt;
			attkptr-&amp;gt;adtyp = AD_CLRC + rn2(2);	 /* AT_MAGC must correspond to a spell type */&lt;br /&gt;
		}&lt;br /&gt;
		if (attkptr-&amp;gt;aatyp == AT_BREA) {&lt;br /&gt;
			attkptr-&amp;gt;adtyp == AD_RBRE;				 /* Tiamat's breath weapon if you're a breather at all :)  */&lt;br /&gt;
		}&lt;br /&gt;
		attkptr-&amp;gt;damn = 2;							 /* we're almost sure to get this wrong first time */&lt;br /&gt;
		attkptr-&amp;gt;damd = 10;							 /* either too high or too low */&lt;br /&gt;
	}&lt;br /&gt;
	shambler-&amp;gt;msize = rn2(MZ_GIGANTIC+1);	/* any size */&lt;br /&gt;
	shambler-&amp;gt;cwt = 20;							/* fortunately moot as it's flagged NOCORPSE */&lt;br /&gt;
	shambler-&amp;gt;cnutrit = 20;						/* see above */&lt;br /&gt;
	shambler-&amp;gt;msound = rn2(MS_HUMANOID);	/* any but the specials */&lt;br /&gt;
	shambler-&amp;gt;mresists = 0;&lt;br /&gt;
	for (i = 0; i &amp;lt; rnd(6); i++) {&lt;br /&gt;
		shambler-&amp;gt;mresists |= (1 &amp;lt;&amp;lt; rn2(8));		/* physical resistances... */&lt;br /&gt;
	}&lt;br /&gt;
	for (i = 0; i &amp;lt; rnd(5); i++) {&lt;br /&gt;
		shambler-&amp;gt;mresists |= (0x100 &amp;lt;&amp;lt; rn2(7));	/* 'different' resistances, even clumsy */&lt;br /&gt;
	}&lt;br /&gt;
	shambler-&amp;gt;mconveys = 0;						/* flagged NOCORPSE */&lt;br /&gt;
	/*&lt;br /&gt;
	 * now time for the random flags.  this will likely produce&lt;br /&gt;
	 * a number of complete trainwreck monsters at first, but&lt;br /&gt;
	 * every so often something will dial up nasty stuff&lt;br /&gt;
	 */&lt;br /&gt;
	shambler-&amp;gt;mflags1 = 0;&lt;br /&gt;
	for (i = 0; i &amp;lt; rnd(17); i++) {&lt;br /&gt;
		shambler-&amp;gt;mflags1 |= (1 &amp;lt;&amp;lt; rn2(33));		/* trainwreck this way :D */&lt;br /&gt;
	}&lt;br /&gt;
	shambler-&amp;gt;mflags1 &amp;amp;= ~M1_UNSOLID;				/* no ghosts */&lt;br /&gt;
	shambler-&amp;gt;mflags1 &amp;amp;= ~M1_WALLWALK;				/* no wall-walkers */&lt;br /&gt;
&lt;br /&gt;
	shambler-&amp;gt;mflags2 = M2_NOPOLY | M2_HOSTILE;	/* Don't let the player be one of these yet. */&lt;br /&gt;
	for (i = 0; i &amp;lt; rnd(17); i++) {&lt;br /&gt;
		shambler-&amp;gt;mflags2 |= (1 &amp;lt;&amp;lt; rn2(33));&lt;br /&gt;
	}&lt;br /&gt;
	shambler-&amp;gt;mflags2 &amp;amp;= ~M2_MERC;					/* no guards */&lt;br /&gt;
	shambler-&amp;gt;mflags2 &amp;amp;= ~M2_PEACEFUL;				/* no peacefuls */&lt;br /&gt;
	shambler-&amp;gt;mflags2 &amp;amp;= ~M2_WERE;					/* no lycanthropes */&lt;br /&gt;
	shambler-&amp;gt;mflags2 &amp;amp;= ~M2_PNAME;					/* not a proper name */&lt;br /&gt;
&lt;br /&gt;
	for (i = 0; i &amp;lt; rnd(5); i++) {&lt;br /&gt;
		shambler-&amp;gt;mflags3 |= (0x100 &amp;lt;&amp;lt; rn2(6));	/* no covetous, but any of the middle M3_ flags are OK */&lt;br /&gt;
	}&lt;br /&gt;
	if (rn2(2)) {&lt;br /&gt;
		shambler-&amp;gt;mflags4 |= (1 &amp;lt;&amp;lt; rn2(4));			/* don't overload it with vulnerabilities */&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	return;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--[[User:Ozymandias|Ozymandias]] ([[User talk:Ozymandias|talk]]) 14:20, 12 August 2013 (UTC)&lt;/div&gt;</summary>
		<author><name>Ozymandias</name></author>
		
	</entry>
</feed>