<?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=Long_worm</id>
	<title>Long worm - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Long_worm"/>
	<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;action=history"/>
	<updated>2026-06-03T22:09:47Z</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=Long_worm&amp;diff=195486&amp;oldid=prev</id>
		<title>Umbire the Phantom: potholes</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;diff=195486&amp;oldid=prev"/>
		<updated>2025-12-03T10:33:50Z</updated>

		<summary type="html">&lt;p&gt;potholes&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 10:33, 3 December 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot; &gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm's head is represented by its normal glyph, while the rest of its body is represented by '''long worm tail''' glyphs, which are [[tilde]]s of the same color (as displayed above): these body segments cannot attack, but trail behind the worm as it moves and obstruct the movement of other monsters{{refsrc|src/hack.c|853|version=NetHack 3.6.7}}&amp;amp;mdash;a long worm's maximum HP is also governed by its body length, though a [[hero]] that [[polymorph]]s into a long worm will not have tail segments.{{refsrc|src/worm.c|64|version=NetHack 3.6.7}} The long worm tail has a dummy entry in [[monst.c]] for visual purposes where it is marked as [[unique]] (to prevent [[figurine]]s of them from generating), and is also considered [[corpseless]] and an invalid form for polymorph.{{refsrc|src/monst.c|2711|version=NetHack 3.6.7|comment=a note after the entry reads &amp;quot;Worm tail must be between the normal monsters and the special quest &amp;amp; pseudo-character ones because an optimization in the random monster selection code assumes everything beyond here has the G_NOGEN and M2_NOPOLY attributes.&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm's head is represented by its normal glyph, while the rest of its body is represented by '''long worm tail''' glyphs, which are [[tilde]]s of the same color (as displayed above): these body segments cannot attack, but trail behind the worm as it moves and obstruct the movement of other monsters{{refsrc|src/hack.c|853|version=NetHack 3.6.7}}&amp;amp;mdash;a long worm's maximum HP is also governed by its body length, though a [[hero]] that [[polymorph]]s into a long worm will not have tail segments.{{refsrc|src/worm.c|64|version=NetHack 3.6.7}} The long worm tail has a dummy entry in [[monst.c]] for visual purposes where it is marked as [[unique]] (to prevent [[figurine]]s of them from generating), and is also considered [[corpseless]] and an invalid form for polymorph.{{refsrc|src/monst.c|2711|version=NetHack 3.6.7|comment=a note after the entry reads &amp;quot;Worm tail must be between the normal monsters and the special quest &amp;amp; pseudo-character ones because an optimization in the random monster selection code assumes everything beyond here has the G_NOGEN and M2_NOPOLY attributes.&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its body can either cut off the &amp;quot;tail&amp;quot; segments behind that segment if it is part of the actual tail, or else cause it to [[divide]] into a second long worm at that segment{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&amp;amp;mdash;this can occur with a {{frac|5}} chance, or with a {{frac|7|10}} chance if the hero uses a slashing weapon.{{refsrc|src/worm.c|334|version=NetHack 3.6.7}} Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;attacks &lt;/del&gt;of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its body can either cut off the &amp;quot;tail&amp;quot; segments behind that segment if it is part of the actual tail, or else cause it to [[divide]] into a second long worm at that segment{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&amp;amp;mdash;this can occur with a {{frac|5}} chance, or with a {{frac|7|10}} chance if the hero uses a slashing weapon.{{refsrc|src/worm.c|334|version=NetHack 3.6.7}} Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;tentacle &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;attack]]s &lt;/ins&gt;of [[mind flayer]]s and [[master mind flayer]]s against long worms can only &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Intelligence drain|&lt;/ins&gt;eat that long worm's brains&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms that are [[polymorph]]ed and monsters that are polymorphed into long worms have special cases applied so that they are not repeatedly polymorphed by a singular action, e.g. the beam from a [[wand of polymorph]] or a {{+ of|polymorph}} spell coming into contact with more than one of their segments.{{refsrc|src/zap.c|227|version=NetHack 3.6.7}} Long worms that have at least one tail segment cannot be displaced.{{refsrc|src/uhitm.c|353|version=NetHack 3.6.7}}{{refsrc|src/mon.c|1588|version=NetHack 3.6.7}} Pet long worms cannot be [[leash]]ed, and a leashed pet which polymorphs into one will be automatically unleashed.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms that are [[polymorph]]ed and monsters that are polymorphed into long worms have special cases applied so that they are not repeatedly polymorphed by a singular action, e.g. the beam from a [[wand of polymorph]] or a {{+ of|polymorph}} spell coming into contact with more than one of their segments.{{refsrc|src/zap.c|227|version=NetHack 3.6.7}} Long worms that have at least one tail segment cannot be displaced.{{refsrc|src/uhitm.c|353|version=NetHack 3.6.7}}{{refsrc|src/mon.c|1588|version=NetHack 3.6.7}} Pet long worms cannot be [[leash]]ed, and a leashed pet which polymorphs into one will be automatically unleashed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Long_worm&amp;diff=184225&amp;oldid=prev</id>
		<title>Umbire the Phantom: follow-up</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;diff=184225&amp;oldid=prev"/>
		<updated>2025-02-20T03:08:31Z</updated>

		<summary type="html">&lt;p&gt;follow-up&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:08, 20 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l42&quot; &gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A '''long worm''', {{monsym|long_worm}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}, is a type of [[monster]] that appears in ''[[NetHack]]''. The long worm is a type of [[worm]] that is unique among monsters: its body and head can occupy several squares simultaneously, and given the complexities introduced, there is an entire file in [[worm.c]] dedicated to properly governing the movement and behavior of the worm and its segments.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A '''long worm''', {{monsym|long_worm}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}, is a type of [[monster]] that appears in ''[[NetHack]]''. The long worm is a type of [[worm]] that is unique among monsters: its body and head can occupy several squares simultaneously, and given the complexities introduced, there is an entire file in [[worm.c]] dedicated to properly governing the movement and behavior of the worm and its segments.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm's head is represented by its normal glyph while the rest of its body is represented by '''long worm tail''' glyphs, which are [[tilde]]s of the same color (as displayed above) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and &lt;/del&gt;cannot attack, but &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;trails &lt;/del&gt;behind the worm as it moves and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;obstructs &lt;/del&gt;other monsters&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;' movement&lt;/del&gt;{{refsrc|src/hack.c|853|version=NetHack 3.6.7}}&amp;amp;mdash;a long worm's maximum HP is governed by its body length, though a [[hero]] that [[polymorph]]s into a long worm will not have tail segments.{{refsrc|src/worm.c|64|version=NetHack 3.6.7}} The long worm tail has a dummy entry in [[monst.c]] for visual purposes&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, and &lt;/del&gt;is marked as [[unique]] (to prevent [[figurine]]s of them from generating), [[corpseless]] and an invalid form for polymorph.{{refsrc|src/monst.c|2711|version=NetHack 3.6.7|comment=a note after the entry reads &amp;quot;Worm tail must be between the normal monsters and the special quest &amp;amp; pseudo-character ones because an optimization in the random monster selection code assumes everything beyond here has the G_NOGEN and M2_NOPOLY attributes.&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm's head is represented by its normal glyph&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;while the rest of its body is represented by '''long worm tail''' glyphs, which are [[tilde]]s of the same color (as displayed above)&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;: these body segments &lt;/ins&gt;cannot attack, but &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;trail &lt;/ins&gt;behind the worm as it moves and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;obstruct the movement of &lt;/ins&gt;other monsters{{refsrc|src/hack.c|853|version=NetHack 3.6.7}}&amp;amp;mdash;a long worm's maximum HP is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;also &lt;/ins&gt;governed by its body length, though a [[hero]] that [[polymorph]]s into a long worm will not have tail segments.{{refsrc|src/worm.c|64|version=NetHack 3.6.7}} The long worm tail has a dummy entry in [[monst.c]] for visual purposes &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;where it &lt;/ins&gt;is marked as [[unique]] (to prevent [[figurine]]s of them from generating), &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;and is also considered &lt;/ins&gt;[[corpseless]] and an invalid form for polymorph.{{refsrc|src/monst.c|2711|version=NetHack 3.6.7|comment=a note after the entry reads &amp;quot;Worm tail must be between the normal monsters and the special quest &amp;amp; pseudo-character ones because an optimization in the random monster selection code assumes everything beyond here has the G_NOGEN and M2_NOPOLY attributes.&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its body can either cut off the &amp;quot;tail&amp;quot; segments behind &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the one &lt;/del&gt;that &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;was attacked &lt;/del&gt;if it is part of the actual tail, or cause it to [[divide]] into a second long worm at that segment{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&amp;amp;mdash;this can occur &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;even if the attack was performed &lt;/del&gt;with a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;non-slashing weapon (including [[bare hands]]), though slashing weapons have a much better &lt;/del&gt;{{frac|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;7|10&lt;/del&gt;}} chance &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;of dividing &lt;/del&gt;a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;worm or removing its tail, compared to &lt;/del&gt;{{frac|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;5&lt;/del&gt;}} &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;otherwise&lt;/del&gt;.{{refsrc|src/worm.c|334|version=NetHack 3.6.7}} Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its body can either cut off the &amp;quot;tail&amp;quot; segments behind that &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;segment &lt;/ins&gt;if it is part of the actual tail, or &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;else &lt;/ins&gt;cause it to [[divide]] into a second long worm at that segment{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&amp;amp;mdash;this can occur with a {{frac|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;5&lt;/ins&gt;}} chance&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, or with &lt;/ins&gt;a {{frac|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;7|10&lt;/ins&gt;}} &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chance if the hero uses a slashing weapon&lt;/ins&gt;.{{refsrc|src/worm.c|334|version=NetHack 3.6.7}} Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms that are [[polymorph]]ed and monsters that are polymorphed into long worms have special cases applied so that they are not repeatedly polymorphed by a singular action, e.g. the beam from a [[wand of polymorph]] or a {{+ of|polymorph}} spell coming into contact with more than one of their &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;body parts&lt;/del&gt;.{{refsrc|src/zap.c|227|version=NetHack 3.6.7}} Long worms that have at least one tail segment cannot be displaced.{{refsrc|src/uhitm.c|353|version=NetHack 3.6.7}}{{refsrc|src/mon.c|1588|version=NetHack 3.6.7}} Pet long worms cannot be [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Leash|leashed&lt;/del&gt;]], and a leashed pet which polymorphs into one will be automatically unleashed.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms that are [[polymorph]]ed and monsters that are polymorphed into long worms have special cases applied so that they are not repeatedly polymorphed by a singular action, e.g. the beam from a [[wand of polymorph]] or a {{+ of|polymorph}} spell coming into contact with more than one of their &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;segments&lt;/ins&gt;.{{refsrc|src/zap.c|227|version=NetHack 3.6.7}} Long worms that have at least one tail segment cannot be displaced.{{refsrc|src/uhitm.c|353|version=NetHack 3.6.7}}{{refsrc|src/mon.c|1588|version=NetHack 3.6.7}} Pet long worms cannot be [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;leash&lt;/ins&gt;]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ed&lt;/ins&gt;, and a leashed pet which polymorphs into one will be automatically unleashed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm has a single bite attack defined, and can only attack if there are monsters adjacent to its head that are valid targets, but will gain additional attacks depending on the amount of segments adjacent to that target as well{{refsrc|src/monmove.c|651|version=NetHack 3.6.7}}{{refsrc|src/worm.c|289|version=NetHack 3.6.7|comment=&amp;quot;wormhitu&amp;quot;}}&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;amp;mdash;in practice, this usually only occurs when a long worm is stuck and cannot move anywhere else.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm has a single bite attack defined, and can only attack if there are monsters adjacent to its head that are valid targets, but will gain additional attacks depending on the amount of segments adjacent to that target as well&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;{{refsrc|src/monmove.c|651|version=NetHack 3.6.7}}{{refsrc|src/worm.c|289|version=NetHack 3.6.7|comment=&amp;quot;wormhitu&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{todo|There's a lot of long worm-specific details that need to be documented here and updated to 3.6.7.}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{todo|There's a lot of long worm-specific details that need to be documented here and updated to 3.6.7.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot; &gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms can be annoying obstructions, but will very rarely attack as often as they are coded to, and &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;their &lt;/del&gt;low [[speed]] of 3 and multi-segmented body makes them easy to dispatch: attacking the rear-most segment will not cause the worm to shorten or be divided, and [[ray]]-based attacks deal damage to the worm for each segment they hit. Long worms can be deliberately divided as well in order to farm worm teeth.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms can be annoying obstructions, but will very rarely attack as often as they are coded to&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;amp;mdash;in practice&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;their multi-hitting behavior usually only occurs when a long worm is stuck &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;cannot move anywhere else. Their &lt;/ins&gt;low [[speed]] of 3 and multi-segmented body makes them easy to dispatch: attacking the rear-most segment will not cause the worm to shorten or be divided, and [[ray]]-based attacks deal damage to the worm for each segment they hit. Long worms can be deliberately divided as well in order to farm worm teeth &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;that a hero can turn into [[crysknives]]&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==History==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==History==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l95&quot; &gt;Line 95:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 95:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In [[UnNetHack]], long worms retain their stats from NetHack 3.4.3.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In [[UnNetHack]], long worms retain their stats from NetHack 3.4.3.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The corpse or [[tin]] of a long worm or baby long worm is described as &amp;quot;spicy&amp;quot; when eaten as a reference to the ''Dune'' novels.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The corpse or [[tin]] of a long worm or baby long worm is described as &amp;quot;spicy&amp;quot; when eaten&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;as a reference to the ''Dune'' novels.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===dNetHack===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===dNetHack===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l107&quot; &gt;Line 107:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 107:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===xNetHack===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===xNetHack===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In [[xNetHack]], the corpse or tin of a long worm or baby long worm is described as &amp;quot;spicy&amp;quot; when eaten &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;as a reference to the ''Dune'' novels&lt;/del&gt;, similar to UnNetHack.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In [[xNetHack]], the corpse or tin of a long worm or baby long worm is described as &amp;quot;spicy&amp;quot; when eaten, similar to UnNetHack.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Encyclopedia entry==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Encyclopedia entry==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Long_worm&amp;diff=184220&amp;oldid=prev</id>
		<title>YourAdHereCZ: fix typo, add links</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;diff=184220&amp;oldid=prev"/>
		<updated>2025-02-19T14:21:43Z</updated>

		<summary type="html">&lt;p&gt;fix typo, add links&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 14:21, 19 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot; &gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |frequency=2&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |frequency=2&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |genocidable=Yes&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |genocidable=Yes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |attacks=Bite 2d4 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;phyiscal&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |attacks=&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;Bite&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;2d4 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;physical&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |resistances conveyed=None&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |resistances conveyed=None&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |resistances=None&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  |resistances=None&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l46&quot; &gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its body can either cut off the &amp;quot;tail&amp;quot; segments behind the one that was attacked if it is part of the actual tail, or cause it to [[divide]] into a second long worm at that segment{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&amp;amp;mdash;this can occur even if the attack was performed with a non-slashing weapon (including [[bare hands]]), though slashing weapons have a much better {{frac|7|10}} chance of dividing a worm or removing its tail, compared to {{frac|5}} otherwise.{{refsrc|src/worm.c|334|version=NetHack 3.6.7}} Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its body can either cut off the &amp;quot;tail&amp;quot; segments behind the one that was attacked if it is part of the actual tail, or cause it to [[divide]] into a second long worm at that segment{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&amp;amp;mdash;this can occur even if the attack was performed with a non-slashing weapon (including [[bare hands]]), though slashing weapons have a much better {{frac|7|10}} chance of dividing a worm or removing its tail, compared to {{frac|5}} otherwise.{{refsrc|src/worm.c|334|version=NetHack 3.6.7}} Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms that are [[polymorph]]ed and monsters that are polymorphed into long worms have special cases applied so that they are not repeatedly polymorphed by a singular action, e.g. the beam from a [[wand of polymorph]] or a {{+ of|polymorph}} spell coming into contact with more than one of their body parts.{{refsrc|src/zap.c|227|version=NetHack 3.6.7}} Long worms that have at least one tail segment cannot be displaced.{{refsrc|src/uhitm.c|353|version=NetHack 3.6.7}}{{refsrc|src/mon.c|1588|version=NetHack 3.6.7}} Pet long worms cannot be leashed, and a leashed pet which polymorphs into one will be automatically unleashed.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms that are [[polymorph]]ed and monsters that are polymorphed into long worms have special cases applied so that they are not repeatedly polymorphed by a singular action, e.g. the beam from a [[wand of polymorph]] or a {{+ of|polymorph}} spell coming into contact with more than one of their body parts.{{refsrc|src/zap.c|227|version=NetHack 3.6.7}} Long worms that have at least one tail segment cannot be displaced.{{refsrc|src/uhitm.c|353|version=NetHack 3.6.7}}{{refsrc|src/mon.c|1588|version=NetHack 3.6.7}} Pet long worms cannot be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Leash|&lt;/ins&gt;leashed&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;, and a leashed pet which polymorphs into one will be automatically unleashed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm has a single bite attack defined, and can only attack if there are monsters adjacent to its head that are valid targets, but will gain additional attacks depending on the amount of segments adjacent to that target as well{{refsrc|src/monmove.c|651|version=NetHack 3.6.7}}{{refsrc|src/worm.c|289|version=NetHack 3.6.7|comment=&amp;quot;wormhitu&amp;quot;}}&amp;amp;mdash;in practice, this usually only occurs when a long worm is stuck and cannot move anywhere else.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm has a single bite attack defined, and can only attack if there are monsters adjacent to its head that are valid targets, but will gain additional attacks depending on the amount of segments adjacent to that target as well{{refsrc|src/monmove.c|651|version=NetHack 3.6.7}}{{refsrc|src/worm.c|289|version=NetHack 3.6.7|comment=&amp;quot;wormhitu&amp;quot;}}&amp;amp;mdash;in practice, this usually only occurs when a long worm is stuck and cannot move anywhere else.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>YourAdHereCZ</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Long_worm&amp;diff=184219&amp;oldid=prev</id>
		<title>YourAdHereCZ: long worms cannot be leashed</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;diff=184219&amp;oldid=prev"/>
		<updated>2025-02-19T12:27:05Z</updated>

		<summary type="html">&lt;p&gt;long worms cannot be leashed&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 12:27, 19 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l46&quot; &gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its body can either cut off the &amp;quot;tail&amp;quot; segments behind the one that was attacked if it is part of the actual tail, or cause it to [[divide]] into a second long worm at that segment{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&amp;amp;mdash;this can occur even if the attack was performed with a non-slashing weapon (including [[bare hands]]), though slashing weapons have a much better {{frac|7|10}} chance of dividing a worm or removing its tail, compared to {{frac|5}} otherwise.{{refsrc|src/worm.c|334|version=NetHack 3.6.7}} Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its body can either cut off the &amp;quot;tail&amp;quot; segments behind the one that was attacked if it is part of the actual tail, or cause it to [[divide]] into a second long worm at that segment{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&amp;amp;mdash;this can occur even if the attack was performed with a non-slashing weapon (including [[bare hands]]), though slashing weapons have a much better {{frac|7|10}} chance of dividing a worm or removing its tail, compared to {{frac|5}} otherwise.{{refsrc|src/worm.c|334|version=NetHack 3.6.7}} Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms that are [[polymorph]]ed and monsters that are polymorphed into long worms have special cases applied so that they are not repeatedly polymorphed by a singular action, e.g. the beam from a [[wand of polymorph]] or a {{+ of|polymorph}} spell coming into contact with more than one of their body parts.{{refsrc|src/zap.c|227|version=NetHack 3.6.7}} Long worms that have at least one tail segment cannot be displaced.{{refsrc|src/uhitm.c|353|version=NetHack 3.6.7}}{{refsrc|src/mon.c|1588|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms that are [[polymorph]]ed and monsters that are polymorphed into long worms have special cases applied so that they are not repeatedly polymorphed by a singular action, e.g. the beam from a [[wand of polymorph]] or a {{+ of|polymorph}} spell coming into contact with more than one of their body parts.{{refsrc|src/zap.c|227|version=NetHack 3.6.7}} Long worms that have at least one tail segment cannot be displaced.{{refsrc|src/uhitm.c|353|version=NetHack 3.6.7}}{{refsrc|src/mon.c|1588|version=NetHack 3.6.7}} &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Pet long worms cannot be leashed, and a leashed pet which polymorphs into one will be automatically unleashed.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm has a single bite attack defined, and can only attack if there are monsters adjacent to its head that are valid targets, but will gain additional attacks depending on the amount of segments adjacent to that target as well{{refsrc|src/monmove.c|651|version=NetHack 3.6.7}}{{refsrc|src/worm.c|289|version=NetHack 3.6.7|comment=&amp;quot;wormhitu&amp;quot;}}&amp;amp;mdash;in practice, this usually only occurs when a long worm is stuck and cannot move anywhere else.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm has a single bite attack defined, and can only attack if there are monsters adjacent to its head that are valid targets, but will gain additional attacks depending on the amount of segments adjacent to that target as well{{refsrc|src/monmove.c|651|version=NetHack 3.6.7}}{{refsrc|src/worm.c|289|version=NetHack 3.6.7|comment=&amp;quot;wormhitu&amp;quot;}}&amp;amp;mdash;in practice, this usually only occurs when a long worm is stuck and cannot move anywhere else.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>YourAdHereCZ</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Long_worm&amp;diff=184218&amp;oldid=prev</id>
		<title>YourAdHereCZ: /* History */ TODO: long worms and leashes</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;diff=184218&amp;oldid=prev"/>
		<updated>2025-02-19T12:23:47Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;History: &lt;/span&gt; TODO: long worms and leashes&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 12:23, 19 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l75&quot; &gt;Line 75:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 75:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In [[NetHack 3.6.1]] and previous versions, a [[rope golem]]'s holding attack can immobilize an entire long worm if the attack hits against one of the tail segments&amp;amp;mdash;this is fixed in [[NetHack 3.6.2]] via {{commit|deed117e7f86d667c48367c82e9572753f2be31d}}.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In [[NetHack 3.6.1]] and previous versions, a [[rope golem]]'s holding attack can immobilize an entire long worm if the attack hits against one of the tail segments&amp;amp;mdash;this is fixed in [[NetHack 3.6.2]] via {{commit|deed117e7f86d667c48367c82e9572753f2be31d}}.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{todo|Pet long worms cannot be leashed since 3.6.0, but a leashed long worm could still be theoretically produced until 3.6.3 by polymorphing a leashed pet into one. Add this info, including the specific commits.}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Origin==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Origin==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>YourAdHereCZ</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Long_worm&amp;diff=181336&amp;oldid=prev</id>
		<title>Umbire the Phantom: feh, think it's fine to update version for now - ditto removing the harlow template</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;diff=181336&amp;oldid=prev"/>
		<updated>2024-12-29T04:50:21Z</updated>

		<summary type="html">&lt;p&gt;feh, think it&amp;#039;s fine to update version for now - ditto removing the harlow template&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 04:50, 29 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l115&quot; &gt;Line 115:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 115:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{{JAH}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{nethack-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;367&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{nethack-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;360&lt;/del&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Monsters]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Monsters]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Long_worm&amp;diff=180915&amp;oldid=prev</id>
		<title>Umbire the Phantom: /* History */ this isn't a long-worm specific thing, so</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;diff=180915&amp;oldid=prev"/>
		<updated>2024-12-23T08:06:58Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;History: &lt;/span&gt; this isn&amp;#039;t a long-worm specific thing, so&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 08:06, 23 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l71&quot; &gt;Line 71:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 71:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Since the baby long worm's introduction in [[NetHack 3.0.0]], the long worm has the same [[monster level]] (8) and [[Monster difficulty|difficulty]] (9) as its baby form, but possesses a weaker bite at 1d4. This is fixed in [[NetHack 3.6.0]] via {{commit|6bcfa8f88bce1bbd5351c27ecf3da2782d646699}}.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Since the baby long worm's introduction in [[NetHack 3.0.0]], the long worm has the same [[monster level]] (8) and [[Monster difficulty|difficulty]] (9) as its baby form, but possesses a weaker bite at 1d4. This is fixed in [[NetHack 3.6.0]] via {{commit|6bcfa8f88bce1bbd5351c27ecf3da2782d646699}}.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Splitting a long worm can cause the game to crash under certain circumstances, e.g. if the cut takes the worm to 1 HP or if long worms become [[extinct]] as a result&amp;amp;mdash;this is [[Bugs in NetHack 3.4.3#C343-324|bug C343-324]], and is marked as fixed in NetHack 3.6.0 via {{commit|03eb70acab772db1a59abe93f279c958024c9729}}, with a [https://nhpatchdb.alt.org/?332 patch for variants based on NetHack 3.4.3 and earlier] available at the [[NetHack Patch Database]]. A related bug can crash the game if dividing a level 0 long worm this way creates a long worm with 0 HP&amp;amp;mdash;this is fixed in NetHack 3.6.0 via {{commit|077606bc0184a85c4574d8ffb68305d842d896fa}}.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Splitting a long worm can cause the game to crash under certain circumstances, e.g. if the cut takes the worm to 1 HP or if long worms become [[extinct]] as a result&amp;amp;mdash;this is [[Bugs in NetHack 3.4.3#C343-324|bug C343-324]], and is marked as fixed in NetHack 3.6.0 via {{commit|03eb70acab772db1a59abe93f279c958024c9729}}, with a [https://nhpatchdb.alt.org/?332 patch for variants based on NetHack 3.4.3 and earlier] available at the [[NetHack Patch Database]]. A related bug can crash the game if dividing a level 0 long worm this way creates a long worm with 0 HP&amp;amp;mdash;this is fixed in NetHack 3.6.0 via {{commit|077606bc0184a85c4574d8ffb68305d842d896fa}}.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* Worms are described as having scales, due to being defined as slithy&amp;amp;mdash;this is fixed in NetHack 3.6.0 via {{commit|3ea07e2ef03e42e8effc1472341fa4b702883c98}} so that worms have their own body part definitions.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Heroes and other monsters can walk diagonally through a long worm's tail between two segments if those segments are connected diagonally&amp;amp;mdash;this is fixed in NetHack 3.6.0 via {{commit|ce018468c4e6d55a12ca9e13ef1a83f52915e6be}}.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Heroes and other monsters can walk diagonally through a long worm's tail between two segments if those segments are connected diagonally&amp;amp;mdash;this is fixed in NetHack 3.6.0 via {{commit|ce018468c4e6d55a12ca9e13ef1a83f52915e6be}}.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* A potion thrown by a monster that hits a long worm's tail segment incorrectly says that it hits the long worm's head, with the correct message being given for potions thrown at one by the hero. This is fixed in NetHack 3.6.0 via {{commit|faa3543063276624844d0fac3005e62710e92a8b}}.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* A potion thrown by a monster that hits a long worm's tail segment incorrectly says that it hits the long worm's head, with the correct message being given for potions thrown at one by the hero. This is fixed in NetHack 3.6.0 via {{commit|faa3543063276624844d0fac3005e62710e92a8b}}.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Long_worm&amp;diff=180895&amp;oldid=prev</id>
		<title>Umbire the Phantom: typo</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;diff=180895&amp;oldid=prev"/>
		<updated>2024-12-22T23:27:58Z</updated>

		<summary type="html">&lt;p&gt;typo&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:27, 22 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l42&quot; &gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A '''long worm''', {{monsym|long_worm}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}, is a type of [[monster]] that appears in ''[[NetHack]]''. The long worm is a type of [[worm]] that is unique among monsters: its body and head can occupy several squares simultaneously, and given the complexities introduced, there is an entire file in [[worm.c]] dedicated to properly governing the movement and behavior of the worm and its segments.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A '''long worm''', {{monsym|long_worm}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}, is a type of [[monster]] that appears in ''[[NetHack]]''. The long worm is a type of [[worm]] that is unique among monsters: its body and head can occupy several squares simultaneously, and given the complexities introduced, there is an entire file in [[worm.c]] dedicated to properly governing the movement and behavior of the worm and its segments.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm's head is represented by its normal glyph while the rest of its body is represented by '''long worm tail''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;gylphs&lt;/del&gt;, which are [[tilde]]s of the same color (as displayed above) and cannot attack, but trails behind the worm as it moves and obstructs other monsters' movement{{refsrc|src/hack.c|853|version=NetHack 3.6.7}}&amp;amp;mdash;a long worm's maximum HP is governed by its body length, though a [[hero]] that [[polymorph]]s into a long worm will not have tail segments.{{refsrc|src/worm.c|64|version=NetHack 3.6.7}} The long worm tail has a dummy entry in [[monst.c]] for visual purposes, and is marked as [[unique]] (to prevent [[figurine]]s of them from generating), [[corpseless]] and an invalid form for polymorph.{{refsrc|src/monst.c|2711|version=NetHack 3.6.7|comment=a note after the entry reads &amp;quot;Worm tail must be between the normal monsters and the special quest &amp;amp; pseudo-character ones because an optimization in the random monster selection code assumes everything beyond here has the G_NOGEN and M2_NOPOLY attributes.&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm's head is represented by its normal glyph while the rest of its body is represented by '''long worm tail''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;glyphs&lt;/ins&gt;, which are [[tilde]]s of the same color (as displayed above) and cannot attack, but trails behind the worm as it moves and obstructs other monsters' movement{{refsrc|src/hack.c|853|version=NetHack 3.6.7}}&amp;amp;mdash;a long worm's maximum HP is governed by its body length, though a [[hero]] that [[polymorph]]s into a long worm will not have tail segments.{{refsrc|src/worm.c|64|version=NetHack 3.6.7}} The long worm tail has a dummy entry in [[monst.c]] for visual purposes, and is marked as [[unique]] (to prevent [[figurine]]s of them from generating), [[corpseless]] and an invalid form for polymorph.{{refsrc|src/monst.c|2711|version=NetHack 3.6.7|comment=a note after the entry reads &amp;quot;Worm tail must be between the normal monsters and the special quest &amp;amp; pseudo-character ones because an optimization in the random monster selection code assumes everything beyond here has the G_NOGEN and M2_NOPOLY attributes.&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its body can either cut off the &amp;quot;tail&amp;quot; segments behind the one that was attacked if it is part of the actual tail, or cause it to [[divide]] into a second long worm at that segment{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&amp;amp;mdash;this can occur even if the attack was performed with a non-slashing weapon (including [[bare hands]]), though slashing weapons have a much better {{frac|7|10}} chance of dividing a worm or removing its tail, compared to {{frac|5}} otherwise.{{refsrc|src/worm.c|334|version=NetHack 3.6.7}} Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its body can either cut off the &amp;quot;tail&amp;quot; segments behind the one that was attacked if it is part of the actual tail, or cause it to [[divide]] into a second long worm at that segment{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&amp;amp;mdash;this can occur even if the attack was performed with a non-slashing weapon (including [[bare hands]]), though slashing weapons have a much better {{frac|7|10}} chance of dividing a worm or removing its tail, compared to {{frac|5}} otherwise.{{refsrc|src/worm.c|334|version=NetHack 3.6.7}} Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Long_worm&amp;diff=180894&amp;oldid=prev</id>
		<title>Umbire the Phantom: wordsmithing: consolidate details about attacking in the lede, adjust strategy - I wanna cite a lot more before I bump the version personally</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;diff=180894&amp;oldid=prev"/>
		<updated>2024-12-22T23:23:49Z</updated>

		<summary type="html">&lt;p&gt;wordsmithing: consolidate details about attacking in the lede, adjust strategy - I wanna cite a lot more before I bump the version personally&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 23:23, 22 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l40&quot; &gt;Line 40:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 40:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A '''long worm''', {{monsym|long_worm}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}, is a type of [[monster]] that appears in ''[[NetHack]]''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A '''long worm''', {{monsym|long_worm}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}, is a type of [[monster]] that appears in ''[[NetHack]]''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. The long worm is a type of [[worm]] that is unique among monsters: its body and head can occupy several squares simultaneously, and given the complexities introduced, there is an entire file in [[worm.c]] dedicated to properly governing the movement and behavior of the worm and its segments&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/del&gt;long worm is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a type of [[worm]] that is unique among monsters: &lt;/del&gt;its &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;body and head can occupy several squares simultaneously, and it can only attack using its head against adjacent monsters, &lt;/del&gt;while the rest of its body &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;(which &lt;/del&gt;is represented by &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a &lt;/del&gt;[[tilde]] of the same color as above) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;composes its '''tail''' &lt;/del&gt;and cannot attack, but trails behind the worm as it moves and obstructs other monsters' movement{{refsrc|src/hack.c|853|version=NetHack 3.6.7}}&amp;amp;mdash;a long worm's maximum HP is governed by its &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tail &lt;/del&gt;length, though a [[hero]] that [[polymorph]]s into a long worm will not have tail segments. The long worm tail has a dummy entry in [[monst.c]] for visual purposes, and is marked as [[unique]] (to prevent [[figurine]]s of them from generating), [[corpseless]] and an invalid form for polymorph.{{refsrc|src/monst.c|2711|version=NetHack 3.6.7|comment=a note after the entry reads &amp;quot;Worm tail must be between the normal monsters and the special quest &amp;amp; pseudo-character ones because an optimization in the random monster selection code assumes everything beyond here has the G_NOGEN and M2_NOPOLY attributes.&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;A &lt;/ins&gt;long worm&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'s head &lt;/ins&gt;is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;represented by &lt;/ins&gt;its &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;normal glyph &lt;/ins&gt;while the rest of its body is represented by &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''long worm tail''' gylphs, which are &lt;/ins&gt;[[tilde]]&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;s &lt;/ins&gt;of the same color &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(&lt;/ins&gt;as &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;displayed &lt;/ins&gt;above) and cannot attack, but trails behind the worm as it moves and obstructs other monsters' movement{{refsrc|src/hack.c|853|version=NetHack 3.6.7}}&amp;amp;mdash;a long worm's maximum HP is governed by its &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;body &lt;/ins&gt;length, though a [[hero]] that [[polymorph]]s into a long worm will not have tail segments.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{refsrc|src/worm.c|64|version=NetHack 3.6.7}} &lt;/ins&gt;The long worm tail has a dummy entry in [[monst.c]] for visual purposes, and is marked as [[unique]] (to prevent [[figurine]]s of them from generating), [[corpseless]] and an invalid form for polymorph.{{refsrc|src/monst.c|2711|version=NetHack 3.6.7|comment=a note after the entry reads &amp;quot;Worm tail must be between the normal monsters and the special quest &amp;amp; pseudo-character ones because an optimization in the random monster selection code assumes everything beyond here has the G_NOGEN and M2_NOPOLY attributes.&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;tail &lt;/del&gt;can either &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot;&lt;/del&gt;cut off&amp;quot; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/del&gt;tail segments behind the one that was attacked, or cause it to [[divide]] into a second long worm at that segment&amp;amp;mdash;this &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;occurs &lt;/del&gt;even if the attack was performed with a non-slashing weapon (including [[bare hands]]). Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;body &lt;/ins&gt;can either cut off &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;&amp;quot;tail&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; &lt;/ins&gt;segments behind the one that was attacked &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;if it is part of the actual tail&lt;/ins&gt;, or cause it to [[divide]] into a second long worm at that segment&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{refsrc|src/worm.c|353|version=NetHack 3.6.7}}{{refsrc|src/worm.c|363|version=NetHack 3.6.7}}&lt;/ins&gt;&amp;amp;mdash;this &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;can occur &lt;/ins&gt;even if the attack was performed with a non-slashing weapon (including [[bare hands]])&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, though slashing weapons have a much better {{frac|7|10}} chance of dividing a worm or removing its tail, compared to {{frac|5}} otherwise.{{refsrc|src/worm.c|334|version=NetHack 3.6&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;7}} &lt;/ins&gt;Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms that are [[polymorph]]ed and monsters that are polymorphed into long worms have special cases applied so that they are not repeatedly polymorphed by a singular action, e.g. the beam from a [[wand of polymorph]] or a {{+ of|polymorph}} spell coming into contact with more than one of their body parts.{{refsrc|src/zap.c|227|version=NetHack 3.6.7}} Long worms that have at least one tail segment cannot be displaced.{{refsrc|src/uhitm.c|353|version=NetHack 3.6.7}}{{refsrc|src/mon.c|1588|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms that are [[polymorph]]ed and monsters that are polymorphed into long worms have special cases applied so that they are not repeatedly polymorphed by a singular action, e.g. the beam from a [[wand of polymorph]] or a {{+ of|polymorph}} spell coming into contact with more than one of their body parts.{{refsrc|src/zap.c|227|version=NetHack 3.6.7}} Long worms that have at least one tail segment cannot be displaced.{{refsrc|src/uhitm.c|353|version=NetHack 3.6.7}}{{refsrc|src/mon.c|1588|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm has a single bite attack.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A long worm has a single bite attack &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;defined, and can only attack if there are monsters adjacent to its head that are valid targets, but will gain additional attacks depending on the amount of segments adjacent to that target as well{{refsrc|src/monmove.c|651|version=NetHack 3.6.7}}{{refsrc|src/worm.c|289|version=NetHack 3.6.7|comment=&amp;quot;wormhitu&amp;quot;}}&amp;amp;mdash;in practice, this usually only occurs when a long worm is stuck and cannot move anywhere else&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{todo|There's a lot of long worm-specific details that need to be documented here and updated to 3.6.7.}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{todo|There's a lot of long worm-specific details that need to be documented here and updated to 3.6.7.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot; &gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Strategy==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms can be annoying obstructions, but their low [[speed]] of 3 and multi-segmented body makes them easy to dispatch: attacking the rear-most segment will not cause the worm to shorten or be divided, and [[ray]]-based attacks deal damage to the worm for each segment they hit. Long worms can be deliberately divided as well in order to farm worm teeth.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Long worms can be annoying obstructions, but &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;will very rarely attack as often as they are coded to, and &lt;/ins&gt;their low [[speed]] of 3 and multi-segmented body makes them easy to dispatch: attacking the rear-most segment will not cause the worm to shorten or be divided, and [[ray]]-based attacks deal damage to the worm for each segment they hit. Long worms can be deliberately divided as well in order to farm worm teeth.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;A long worm technically respects [[Elbereth]] and other means of [[scaring]]: However, if a worm is frightened but is currently stuck, it will proceed to attack you with its head and all of its tail segments next to you. This is the only way to see this in action, presumably due to a bug.{{refsrc|monmove.c|555}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==History==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==History==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Long_worm&amp;diff=180892&amp;oldid=prev</id>
		<title>Umbire the Phantom: cite tail obstruction</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Long_worm&amp;diff=180892&amp;oldid=prev"/>
		<updated>2024-12-22T22:58:15Z</updated>

		<summary type="html">&lt;p&gt;cite tail obstruction&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 22:58, 22 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l42&quot; &gt;Line 42:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A '''long worm''', {{monsym|long_worm}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}, is a type of [[monster]] that appears in ''[[NetHack]]''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A '''long worm''', {{monsym|long_worm}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}{{monsym|long_worm_tail}}, is a type of [[monster]] that appears in ''[[NetHack]]''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The long worm is a type of [[worm]] that is unique among monsters: its body and head can occupy several squares simultaneously, and it can only attack using its head against adjacent monsters, while the rest of its body (which is represented by a [[tilde]] of the same color as above) composes its '''tail''' and cannot attack, but trails behind the worm as it moves and obstructs other monsters' movement&amp;amp;mdash;a long worm's maximum HP is governed by its tail length, though a [[hero]] that [[polymorph]]s into a long worm will not have tail segments. The long worm tail has a dummy entry in [[monst.c]] for visual purposes, and is marked as [[unique]] (to prevent [[figurine]]s of them from generating), [[corpseless]] and an invalid form for polymorph.{{refsrc|src/monst.c|2711|version=NetHack 3.6.7|comment=a note after the entry reads &amp;quot;Worm tail must be between the normal monsters and the special quest &amp;amp; pseudo-character ones because an optimization in the random monster selection code assumes everything beyond here has the G_NOGEN and M2_NOPOLY attributes.&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The long worm is a type of [[worm]] that is unique among monsters: its body and head can occupy several squares simultaneously, and it can only attack using its head against adjacent monsters, while the rest of its body (which is represented by a [[tilde]] of the same color as above) composes its '''tail''' and cannot attack, but trails behind the worm as it moves and obstructs other monsters' movement&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{refsrc|src/hack.c|853|version=NetHack 3.6.7}}&lt;/ins&gt;&amp;amp;mdash;a long worm's maximum HP is governed by its tail length, though a [[hero]] that [[polymorph]]s into a long worm will not have tail segments. The long worm tail has a dummy entry in [[monst.c]] for visual purposes, and is marked as [[unique]] (to prevent [[figurine]]s of them from generating), [[corpseless]] and an invalid form for polymorph.{{refsrc|src/monst.c|2711|version=NetHack 3.6.7|comment=a note after the entry reads &amp;quot;Worm tail must be between the normal monsters and the special quest &amp;amp; pseudo-character ones because an optimization in the random monster selection code assumes everything beyond here has the G_NOGEN and M2_NOPOLY attributes.&amp;quot;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its tail can either &amp;quot;cut off&amp;quot; the tail segments behind the one that was attacked, or cause it to [[divide]] into a second long worm at that segment&amp;amp;mdash;this occurs even if the attack was performed with a non-slashing weapon (including [[bare hands]]). Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Attacking any part of a long worm that is not its head or the last segment of its tail can either &amp;quot;cut off&amp;quot; the tail segments behind the one that was attacked, or cause it to [[divide]] into a second long worm at that segment&amp;amp;mdash;this occurs even if the attack was performed with a non-slashing weapon (including [[bare hands]]). Long worm tail segments are considered to be [[headless]], e.g. [[holding attack]]s cannot grab a long worm's tail segments, and the tentacle attacks of [[mind flayer]]s and [[master mind flayer]]s against long worms can only eat that long worm's brains if their attacks target the head.{{refsrc|src/uhitm.c|2567|version=NetHack 3.6.7}} Similarly, attacking with the [[wielded]] [[Vorpal Blade]] will only decapitate a long worm if the attack is targeted at the head.{{refsrc|src/uhitm.c|507|version=NetHack 3.6.7}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Umbire the Phantom</name></author>
		
	</entry>
</feed>