<?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=User%3AKillian%2FAntimagic</id>
	<title>User:Killian/Antimagic - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=User%3AKillian%2FAntimagic"/>
	<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=User:Killian/Antimagic&amp;action=history"/>
	<updated>2026-07-13T16:14:29Z</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=User:Killian/Antimagic&amp;diff=33729&amp;oldid=prev</id>
		<title>Killian: quick list of all apparent effects of player magic resistance</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=User:Killian/Antimagic&amp;diff=33729&amp;oldid=prev"/>
		<updated>2008-07-13T10:27:15Z</updated>

		<summary type="html">&lt;p&gt;quick list of all apparent effects of player magic resistance&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
include/youprop.h:72:#define EAntimagic		u.uprops[ANTIMAGIC].extrinsic&lt;br /&gt;
include/youprop.h:73:#define Antimagic		(EAntimagic || \&lt;br /&gt;
src/mcastu.c:289:		if(Antimagic) {&lt;br /&gt;
src/mcastu.c:336:	} else if (!Antimagic &amp;amp;&amp;amp; rn2(mtmp-&amp;gt;m_lev) &amp;gt; 12) {&lt;br /&gt;
src/mcastu.c:345:	    if (Antimagic) shieldeff(u.ux, u.uy);&lt;br /&gt;
src/mcastu.c:393:	if (Antimagic) {&lt;br /&gt;
src/mcastu.c:402:	if (Antimagic) {&lt;br /&gt;
src/mcastu.c:426:	if (Antimagic || Free_action) {&lt;br /&gt;
src/mcastu.c:454:	/* prior to 3.4.0 Antimagic was setting the damage to 1--this&lt;br /&gt;
src/mcastu.c:456:	if (Antimagic) {&lt;br /&gt;
src/mcastu.c:599:	if (Antimagic || Free_action) {&lt;br /&gt;
src/mcastu.c:614:	if (Antimagic) {&lt;br /&gt;
src/mcastu.c:641:	if (Antimagic) {&lt;br /&gt;
src/cmd.c:878:	if (Antimagic) you_are(&amp;quot;magic-protected&amp;quot;);&lt;br /&gt;
src/muse.c:1114:			if (Antimagic) {&lt;br /&gt;
src/sit.c:324:	if(Antimagic) {&lt;br /&gt;
src/sit.c:337:	    for (cnt = rnd(6/((!!Antimagic) + (!!Half_spell_damage) + 1));&lt;br /&gt;
src/uhitm.c:2223:	    if(Antimagic) {&lt;br /&gt;
src/pray.c:594:			if (!Blind &amp;amp;&amp;amp; !Antimagic)&lt;br /&gt;
src/zap.c:1886:		    if(Antimagic) {&lt;br /&gt;
src/zap.c:1959:		    if(Antimagic) {&lt;br /&gt;
src/zap.c:2236:	if (youdefend ? (!youattack &amp;amp;&amp;amp; Antimagic)&lt;br /&gt;
src/zap.c:3077:	    if (Antimagic) {&lt;br /&gt;
src/zap.c:3143:	    } else if (Antimagic) {&lt;br /&gt;
src/trap.c:1075:		if(Antimagic) {&lt;br /&gt;
src/trap.c:1096:		if(Antimagic || Unchanging) {&lt;br /&gt;
src/artifact.c:376:	    mask = &amp;amp;EAntimagic;&lt;br /&gt;
src/artifact.c:542:	dmg = d((Antimagic ? 2 : 4), (self_willed ? 10 : 4));&lt;br /&gt;
src/artifact.c:604:			return !(yours ? Antimagic : (rn2(100) &amp;lt; ptr-&amp;gt;mr));&lt;br /&gt;
src/artifact.c:856:	    if (Antimagic) {&lt;br /&gt;
src/explode.c:104:				explmask[i][j] = !!Antimagic;&lt;br /&gt;
src/mhitu.c:1494:		    if (!Antimagic) {&lt;br /&gt;
src/mhitu.c:1506:		    if (Antimagic) shieldeff(u.ux, u.uy);&lt;br /&gt;
src/potion.c:1005:		if (!Unchanging &amp;amp;&amp;amp; !Antimagic) polyself(FALSE);&lt;br /&gt;
src/spell.c:161:		if(Antimagic) {&lt;br /&gt;
src/teleport.c:844:	if (In_endgame(&amp;amp;u.uz) || Antimagic) {&lt;br /&gt;
src/teleport.c:845:		if (Antimagic)&lt;br /&gt;
src/teleport.c:865:	if (Antimagic) {&lt;br /&gt;
src/teleport.c:868:	if (Antimagic || In_endgame(&amp;amp;u.uz)) {&lt;br /&gt;
debian/patches/93_enh_dump.dpatch:313:+	if (Antimagic) dump(youwere, &amp;quot;magic-protected&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Things that [[magic resistance]] protects against: ==&lt;br /&gt;
&lt;br /&gt;
* [[Magic missile]] monster spell&lt;br /&gt;
* [[Touch of death]] monster spell&lt;br /&gt;
* [[Destroy armor (monster spell)]]&lt;br /&gt;
* Drain strength (weaken) monster spell&lt;br /&gt;
* Stun monster spell (reduces effect to 1 turn)&lt;br /&gt;
* Psi bolt monster spell (halves damage, rounded up)&lt;br /&gt;
&lt;br /&gt;
* Paralyze clerical monster spell (reduces effect to 1 turn)&lt;br /&gt;
* Confuse clerical monster spell&lt;br /&gt;
* Open wounds clerical monster spell (halves damage, rounded up)&lt;br /&gt;
&lt;br /&gt;
* [[Wand of striking]] zapped by monster&lt;br /&gt;
* Curses caused by {{function|sit.c|rndcurse}} (reduces effect somehow)&lt;br /&gt;
* [[Oracle]]'s passive magic missile attack&lt;br /&gt;
&lt;br /&gt;
* Wand or spell of force bolt zapped by player at self&lt;br /&gt;
* Wand or spell of magic missile zapped by player at self&lt;br /&gt;
&lt;br /&gt;
* Player canceled by monster via {{function|zap.c|cancel_monst}} (is this possible?)&lt;br /&gt;
&lt;br /&gt;
* Player hit by zapped magic missile&lt;br /&gt;
* Player hit by zapped death ray&lt;br /&gt;
&lt;br /&gt;
* Player stepping on an anti-magic field&lt;br /&gt;
* Player stepping on a polytrap&lt;br /&gt;
&lt;br /&gt;
* Player zapped by touching an artifact (halves damage dice from 4 to 2)&lt;br /&gt;
* Special damage of player hit by [[Magicbane]]&lt;br /&gt;
&lt;br /&gt;
* [[Magicbane]]'s &amp;quot;scare&amp;quot; special attack&lt;br /&gt;
* Effects of {{function|explode.c|explode}} for &amp;lt;code&amp;gt;AD_MAGM&amp;lt;/code&amp;gt; explosions&lt;br /&gt;
&lt;br /&gt;
* Possible instadeath from [[Death]]'s touch attack&lt;br /&gt;
* Being hit by a thrown [[potion of polymorph]]&lt;br /&gt;
&lt;br /&gt;
* Explosion of an unsuccessfully-read [[spellbook]]&lt;br /&gt;
&lt;br /&gt;
* Player stepping on teletrap&lt;br /&gt;
* Player stepping on level-teletrap&lt;/div&gt;</summary>
		<author><name>Killian</name></author>
		
	</entry>
</feed>