<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Talk%3AIce</id>
	<title>Talk:Ice - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=Talk%3AIce"/>
	<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Talk:Ice&amp;action=history"/>
	<updated>2026-06-04T02:32:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.5</generator>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Talk:Ice&amp;diff=130215&amp;oldid=prev</id>
		<title>Tomsod: /* Melting ice */ more perma-ice odds</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Talk:Ice&amp;diff=130215&amp;oldid=prev"/>
		<updated>2020-01-08T19:58:10Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Melting ice: &lt;/span&gt; more perma-ice odds&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 19:58, 8 January 2020&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-l8&quot; &gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&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;-- [[User:Qazmlpok|Qazmlpok]] ([[User talk:Qazmlpok|talk]]) 19:07, 3 January 2016 (UTC)&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;-- [[User:Qazmlpok|Qazmlpok]] ([[User talk:Qazmlpok|talk]]) 19:07, 3 January 2016 (UTC)&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;: If that is correct, the chance of permanent ice forming after one zap is 1999/2000 * 1998/1999 * 1997/1998 * ... * 50/51 * 49/50 = 49/2000 (about 2.5% chance), and the chance of duration being N is 1999/2000 * 1998/1999 * ... * (2050-N)/(2051-N) * 1/(2050-N) = 1/2000, exactly the same for each N.  However, each subsequent zap will start with higher duration, so the chances of permanent ice should improve quickly with several zaps.  After two zaps, the chance is already 49/2000 * (H(2000) - H(49) + 1) [H(n) being harmonic numbers], which is about 11.5%.  For three zaps the calculation becomes slightly complicated, but Wolfram|Alpha gives about 28.3% chance for permanent ice.  I'm too lazy to calculate further, but you get the idea. [[User:Tomsod|Tomsod]] ([[User talk:Tomsod|talk]]) 14:50, 11 July 2018 (UTC)&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;: If that is correct, the chance of permanent ice forming after one zap is 1999/2000 * 1998/1999 * 1997/1998 * ... * 50/51 * 49/50 = 49/2000 (about 2.5% chance), and the chance of duration being N is 1999/2000 * 1998/1999 * ... * (2050-N)/(2051-N) * 1/(2050-N) = 1/2000, exactly the same for each N.  However, each subsequent zap will start with higher duration, so the chances of permanent ice should improve quickly with several zaps.  After two zaps, the chance is already 49/2000 * (H(2000) - H(49) + 1) [H(n) being harmonic numbers], which is about 11.5%.  For three zaps the calculation becomes slightly complicated, but Wolfram|Alpha gives about 28.3% chance for permanent ice.  I'm too lazy to calculate further, but you get the idea. [[User:Tomsod|Tomsod]] ([[User talk:Tomsod|talk]]) 14:50, 11 July 2018 (UTC)&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;:: Returning to this, I just recalculated the chances of permanent ice (I gave slightly wrong figures before).  For one zap it's 2.45%, for two, 11.56%, for three, 28.48%, and for four I just calculated a 49.61% chance, although it's approximate and I'm not sure all four digits are significant.  Perhaps I should add it to the article.  [[User:Tomsod|Tomsod]] ([[User talk:Tomsod|talk]]) 19:58, 8 January 2020 (UTC)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tomsod</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Talk:Ice&amp;diff=123208&amp;oldid=prev</id>
		<title>Tomsod: i did the math</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Talk:Ice&amp;diff=123208&amp;oldid=prev"/>
		<updated>2018-07-11T14:52:44Z</updated>

		<summary type="html">&lt;p&gt;i did the math&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:52, 11 July 2018&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-l7&quot; &gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&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;*If none of these trials pass, the ice is made permanent.&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;*If none of these trials pass, the ice is made permanent.&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;-- [[User:Qazmlpok|Qazmlpok]] ([[User talk:Qazmlpok|talk]]) 19:07, 3 January 2016 (UTC)&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;-- [[User:Qazmlpok|Qazmlpok]] ([[User talk:Qazmlpok|talk]]) 19:07, 3 January 2016 (UTC)&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;: If that is correct, the chance of permanent ice forming after one zap is 1999/2000 * 1998/1999 * 1997/1998 * ... * 50/51 * 49/50 = 49/2000 (about 2.5% chance), and the chance of duration being N is 1999/2000 * 1998/1999 * ... * (2050-N)/(2051-N) * 1/(2050-N) = 1/2000, exactly the same for each N.  However, each subsequent zap will start with higher duration, so the chances of permanent ice should improve quickly with several zaps.  After two zaps, the chance is already 49/2000 * (H(2000) - H(49) + 1) [H(n) being harmonic numbers], which is about 11.5%.  For three zaps the calculation becomes slightly complicated, but Wolfram|Alpha gives about 28.3% chance for permanent ice.  I'm too lazy to calculate further, but you get the idea. [[User:Tomsod|Tomsod]] ([[User talk:Tomsod|talk]]) 14:50, 11 July 2018 (UTC)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tomsod</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=Talk:Ice&amp;diff=100278&amp;oldid=prev</id>
		<title>Qazmlpok: Created page with &quot;==Melting ice== The way the timeout is determined is kinda odd, so I don't know what the actual probabilities are. If I'm not misreading the source: *Timer is initialized to 5...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=Talk:Ice&amp;diff=100278&amp;oldid=prev"/>
		<updated>2016-01-03T19:07:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Melting ice== The way the timeout is determined is kinda odd, so I don&amp;#039;t know what the actual probabilities are. If I&amp;#039;m not misreading the source: *Timer is initialized to 5...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Melting ice==&lt;br /&gt;
The way the timeout is determined is kinda odd, so I don't know what the actual probabilities are. If I'm not misreading the source:&lt;br /&gt;
*Timer is initialized to 50 (MIN_ICE_TIME) if not already set. It's already set if this is an ice bolt travelling over existing (thawing) ice rather than plain water.&lt;br /&gt;
*There is a 1 in 2000 (MAX_ICE_TIME) chance that the current duration of 50 will be used as the duration. &lt;br /&gt;
*If this is not the case, increment the duration. There is a 1 in 1999 chance that the current duration (51) will be used.&lt;br /&gt;
*And so on; up to 1950 trials of &amp;quot;1 in (2000 - duration + 50)&amp;quot;, with the final one being &amp;quot;1 in 50&amp;quot;&lt;br /&gt;
*If none of these trials pass, the ice is made permanent.&lt;br /&gt;
-- [[User:Qazmlpok|Qazmlpok]] ([[User talk:Qazmlpok|talk]]) 19:07, 3 January 2016 (UTC)&lt;/div&gt;</summary>
		<author><name>Qazmlpok</name></author>
		
	</entry>
</feed>