<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://mail.melanarchy.org/index.php?action=history&amp;feed=atom&amp;title=CMud_Charge_Shield</id>
	<title>CMud Charge Shield - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://mail.melanarchy.org/index.php?action=history&amp;feed=atom&amp;title=CMud_Charge_Shield"/>
	<link rel="alternate" type="text/html" href="http://mail.melanarchy.org/index.php?title=CMud_Charge_Shield&amp;action=history"/>
	<updated>2026-04-04T13:17:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>http://mail.melanarchy.org/index.php?title=CMud_Charge_Shield&amp;diff=52631&amp;oldid=prev</id>
		<title>Alrin: /* Part one */</title>
		<link rel="alternate" type="text/html" href="http://mail.melanarchy.org/index.php?title=CMud_Charge_Shield&amp;diff=52631&amp;oldid=prev"/>
		<updated>2017-10-07T06:48:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Part one&lt;/span&gt;&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 06:48, 7 October 2017&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-l52&quot; &gt;Line 52:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&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;#echo -- Charge Shield Report --&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;#echo -- Charge Shield Report --&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;#echo The shield has %1 charges of %proper(%2). It took %eval(@cntgoesoff+@cntincrease+@cntnothing+@cntsilent) castings.&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;#echo The shield has %1 charges of %proper(%2). It took %eval(@cntgoesoff+@cntincrease+@cntnothing+@cntsilent) castings.&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;#if (@shieldpercent&amp;amp;lt;90) {#echo -- DANGER! Your @shieldtype shield is at @shieldpercent %. Repair it soon! --}&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;#if (@shieldpercent &amp;amp;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;#38;&lt;/ins&gt;lt; 90) {#echo -- DANGER! Your @shieldtype shield is at @shieldpercent %. Repair it soon! --}&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;#wait 1000&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;#wait 1000&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;clearshield&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;clearshield&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Alrin</name></author>
		
	</entry>
	<entry>
		<id>http://mail.melanarchy.org/index.php?title=CMud_Charge_Shield&amp;diff=41358&amp;oldid=prev</id>
		<title>Shalineth: /* Designer comments */</title>
		<link rel="alternate" type="text/html" href="http://mail.melanarchy.org/index.php?title=CMud_Charge_Shield&amp;diff=41358&amp;oldid=prev"/>
		<updated>2010-12-04T15:04:55Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Designer comments&lt;/span&gt;&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 15:04, 4 December 2010&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-l108&quot; &gt;Line 108:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 108:&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;== Designer comments ==&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;== Designer comments ==&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;Feel free to note me [[User:Shalineth|here]] or on board 2 to Shalineth with any feedback or suggestions.&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;Feel free to note me [[User:Shalineth|here]] or on board 2 to Shalineth with any feedback or suggestions.&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;Updated for CMud v3.32.&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;[[Category: Cmud Scripting]]&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: Cmud Scripting]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Shalineth</name></author>
		
	</entry>
	<entry>
		<id>http://mail.melanarchy.org/index.php?title=CMud_Charge_Shield&amp;diff=41357&amp;oldid=prev</id>
		<title>Shalineth: Updating for CMud v3.32</title>
		<link rel="alternate" type="text/html" href="http://mail.melanarchy.org/index.php?title=CMud_Charge_Shield&amp;diff=41357&amp;oldid=prev"/>
		<updated>2010-12-04T15:04:30Z</updated>

		<summary type="html">&lt;p&gt;Updating for CMud v3.32&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 15:04, 4 December 2010&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-l66&quot; &gt;Line 66:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 66:&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;var name=&amp;quot;shieldpercent&amp;quot;&amp;gt;0&amp;lt;/var&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;var name=&amp;quot;shieldpercent&amp;quot;&amp;gt;0&amp;lt;/var&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;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;alias name=&amp;quot;clearshield&amp;quot;&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;alias name=&amp;quot;clearshield&amp;quot;&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;       &amp;lt;value&amp;gt;#yesno &amp;quot;Do you wish to reset the Charge Shield counter?&amp;quot; {} {#exit;#echo Run the clearshield alias when you wish to reset the counter.}&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;       &amp;lt;value&amp;gt;#yesno &amp;quot;Do you wish to reset the Charge Shield counter?&amp;quot; {&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;clearshield1&lt;/ins&gt;} {#exit;#echo Run the clearshield alias when you wish to reset the counter.}&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;#var ChargeShield/cntcharges 0&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;&amp;lt;/value&amp;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 class=&quot;diffchange diffchange-inline&quot;&gt;    &amp;lt;/alias&amp;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 class=&quot;diffchange diffchange-inline&quot;&gt;    &amp;lt;alias name=&amp;quot;clearshield1&amp;quot;&amp;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 class=&quot;diffchange diffchange-inline&quot;&gt;      &amp;lt;value&amp;gt;&lt;/ins&gt;#var ChargeShield/cntcharges 0&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;#var ChargeShield/cntgoesoff 0&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;#var ChargeShield/cntgoesoff 0&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;#var ChargeShield/cntincrease 0&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;#var ChargeShield/cntincrease 0&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-l84&quot; &gt;Line 84:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 87:&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;&amp;lt;/pre&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;/pre&amp;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;&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;== Part two ==&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;== Part two ==&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;pre&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;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Shalineth</name></author>
		
	</entry>
	<entry>
		<id>http://mail.melanarchy.org/index.php?title=CMud_Charge_Shield&amp;diff=40739&amp;oldid=prev</id>
		<title>Shalineth: Charge Shield script for CMud</title>
		<link rel="alternate" type="text/html" href="http://mail.melanarchy.org/index.php?title=CMud_Charge_Shield&amp;diff=40739&amp;oldid=prev"/>
		<updated>2010-09-06T17:58:30Z</updated>

		<summary type="html">&lt;p&gt;Charge Shield script for CMud&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This is a simple script that will prompt you which spell you wish to [[Charge_Shield|charge]] a [[:Category:Shields|shield]] with. Designed for hero level shields, but will work with lower-level shields.&lt;br /&gt;
&lt;br /&gt;
The script includes a counter to show how many castings it took, as well as a current damage status, prompting you to get your shield repaired below 80% hit points.&lt;br /&gt;
&lt;br /&gt;
== The Script ==&lt;br /&gt;
This script is in two parts. The first is in the class &amp;quot;Chargeshield&amp;quot; and will be disabled by default. The second part needs to be saved to any active class (I use &amp;quot;Base&amp;quot;) and will enable the &amp;quot;Chargeshield&amp;quot; class when the alias '''Chargeshield''' is run. &lt;br /&gt;
&lt;br /&gt;
Save the following two blocks of code as a separate .xml files, and import it into Cmud:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Part one ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;cmud&amp;gt;&lt;br /&gt;
  &amp;lt;class name=&amp;quot;ChargeShield&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;trigger priority=&amp;quot;10640&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;pattern&amp;gt;^The spell goes off in your face!&amp;lt;/pattern&amp;gt;&lt;br /&gt;
      &amp;lt;value&amp;gt;c 'charge shield' @shieldtype @spell&lt;br /&gt;
cntincrease = @cntincrease+1 &amp;lt;/value&amp;gt;&lt;br /&gt;
    &amp;lt;/trigger&amp;gt;&lt;br /&gt;
    &amp;lt;trigger priority=&amp;quot;10650&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;pattern&amp;gt;^(*) begins to hum with the power of your spell!&amp;lt;/pattern&amp;gt;&lt;br /&gt;
      &amp;lt;value&amp;gt;c 'charge shield' @shieldtype @spell&lt;br /&gt;
cntincrease = @cntincrease+1 &amp;lt;/value&amp;gt;&lt;br /&gt;
    &amp;lt;/trigger&amp;gt;&lt;br /&gt;
    &amp;lt;trigger priority=&amp;quot;10660&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;pattern&amp;gt;^(*) already stores all the magic it can hold.&amp;lt;/pattern&amp;gt;&lt;br /&gt;
      &amp;lt;value&amp;gt;c identify @shieldtype&lt;br /&gt;
#BEEP&amp;lt;/value&amp;gt;&lt;br /&gt;
    &amp;lt;/trigger&amp;gt;&lt;br /&gt;
    &amp;lt;trigger priority=&amp;quot;10670&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;pattern&amp;gt;^Nothing seems to happen.&amp;lt;/pattern&amp;gt;&lt;br /&gt;
      &amp;lt;value&amp;gt;c 'charge shield' @shieldtype @spell&lt;br /&gt;
cntincrease = @cntincrease+1 &amp;lt;/value&amp;gt;&lt;br /&gt;
    &amp;lt;/trigger&amp;gt;&lt;br /&gt;
    &amp;lt;trigger priority=&amp;quot;10680&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;pattern&amp;gt;^(*) hums briefly, and then falls silent.&amp;lt;/pattern&amp;gt;&lt;br /&gt;
      &amp;lt;value&amp;gt;c 'charge shield' @shieldtype @spell&lt;br /&gt;
cntincrease = @cntincrease+1 &amp;lt;/value&amp;gt;&lt;br /&gt;
    &amp;lt;/trigger&amp;gt;&lt;br /&gt;
    &amp;lt;var name=&amp;quot;shieldtype&amp;quot;&amp;gt;heroes&amp;lt;/var&amp;gt;&lt;br /&gt;
    &amp;lt;var name=&amp;quot;spell&amp;quot;&amp;gt;flametongue&amp;lt;/var&amp;gt;&lt;br /&gt;
    &amp;lt;trigger priority=&amp;quot;10720&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;pattern&amp;gt;^Object Quality ~((%d) ~/ (%d) hps~)&amp;lt;/pattern&amp;gt;&lt;br /&gt;
      &amp;lt;value&amp;gt;#var ChargeShield/shieldmaxhp %2&lt;br /&gt;
#var ChargeShield/shieldcurhp %1&lt;br /&gt;
#math ChargeShield/shieldpercent %eval(@shieldcurhp*100/@shieldmaxhp)&amp;lt;/value&amp;gt;&lt;br /&gt;
    &amp;lt;/trigger&amp;gt;&lt;br /&gt;
    &amp;lt;trigger priority=&amp;quot;10730&amp;quot; enabled=&amp;quot;false&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;pattern&amp;gt;^It has (%d) charges of (*).&amp;lt;/pattern&amp;gt;&lt;br /&gt;
      &amp;lt;value&amp;gt;#var ChargeShield/cntcharges %1&lt;br /&gt;
#var ChargeShield/spell %2&lt;br /&gt;
#echo -- Charge Shield Report --&lt;br /&gt;
#echo The shield has %1 charges of %proper(%2). It took %eval(@cntgoesoff+@cntincrease+@cntnothing+@cntsilent) castings.&lt;br /&gt;
#if (@shieldpercent&amp;amp;lt;90) {#echo -- DANGER! Your @shieldtype shield is at @shieldpercent %. Repair it soon! --}&lt;br /&gt;
#wait 1000&lt;br /&gt;
clearshield&lt;br /&gt;
&amp;lt;/value&amp;gt;&lt;br /&gt;
    &amp;lt;/trigger&amp;gt;&lt;br /&gt;
    &amp;lt;var name=&amp;quot;cntcharges&amp;quot;&amp;gt;0&amp;lt;/var&amp;gt;&lt;br /&gt;
    &amp;lt;var name=&amp;quot;cntsilent&amp;quot;&amp;gt;0&amp;lt;/var&amp;gt;&lt;br /&gt;
    &amp;lt;var name=&amp;quot;cntnothing&amp;quot;&amp;gt;0&amp;lt;/var&amp;gt;&lt;br /&gt;
    &amp;lt;var name=&amp;quot;cntincrease&amp;quot;&amp;gt;0&amp;lt;/var&amp;gt;&lt;br /&gt;
    &amp;lt;var name=&amp;quot;cntgoesoff&amp;quot;&amp;gt;0&amp;lt;/var&amp;gt;&lt;br /&gt;
    &amp;lt;var name=&amp;quot;shieldmaxhp&amp;quot;&amp;gt;0&amp;lt;/var&amp;gt;&lt;br /&gt;
    &amp;lt;var name=&amp;quot;shieldcurhp&amp;quot; type=&amp;quot;Integer&amp;quot;&amp;gt;0&amp;lt;/var&amp;gt;&lt;br /&gt;
    &amp;lt;var name=&amp;quot;shieldpercent&amp;quot;&amp;gt;0&amp;lt;/var&amp;gt;&lt;br /&gt;
    &amp;lt;alias name=&amp;quot;clearshield&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;value&amp;gt;#yesno &amp;quot;Do you wish to reset the Charge Shield counter?&amp;quot; {} {#exit;#echo Run the clearshield alias when you wish to reset the counter.}&lt;br /&gt;
#var ChargeShield/cntcharges 0&lt;br /&gt;
#var ChargeShield/cntgoesoff 0&lt;br /&gt;
#var ChargeShield/cntincrease 0&lt;br /&gt;
#var ChargeShield/cntnothing 0&lt;br /&gt;
#var ChargeShield/cntsilent 0&lt;br /&gt;
#var ChargeShield/shieldcurhp 0&lt;br /&gt;
#var ChargeShield/shieldmaxhp 0&lt;br /&gt;
#var ChargeShield/shieldpercent 0&lt;br /&gt;
#echo -&lt;br /&gt;
#echo -- Charge Shield counter reset --&lt;br /&gt;
#T- &amp;quot;^It has (%d) charges of (*).&amp;quot;&lt;br /&gt;
#class ChargeShield 0&amp;lt;/value&amp;gt;&lt;br /&gt;
    &amp;lt;/alias&amp;gt;&lt;br /&gt;
  &amp;lt;/class&amp;gt;&lt;br /&gt;
&amp;lt;/cmud&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Part two ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot; ?&amp;gt;&lt;br /&gt;
&amp;lt;cmud&amp;gt;&lt;br /&gt;
  &amp;lt;alias name=&amp;quot;ChargeShield&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;value&amp;gt;#CLASS ChargeShield 1&lt;br /&gt;
#PR ChargeShield/shieldtype &amp;quot;Input a keyword for the shield I'm about to charge.&amp;quot;&lt;br /&gt;
#VAR ChargeShield/spell %pick(&amp;quot;p:Select a spell&amp;quot;,&amp;quot;o:1&amp;quot;,&amp;quot;flametongue&amp;quot;,&amp;quot;arc lightning&amp;quot;,&amp;quot;frostbite&amp;quot;,&amp;quot;jolt&amp;quot;,&amp;quot;flash&amp;quot;,&amp;quot;venom&amp;quot;)&lt;br /&gt;
c identify @shieldtype&lt;br /&gt;
c 'charge shield' @shieldtype @spell &lt;br /&gt;
cntincrease = @cntincrease+1 &lt;br /&gt;
#wait 1000&lt;br /&gt;
#T+ &amp;quot;^It has (%d) charges of (*).&amp;quot;&amp;lt;/value&amp;gt;&lt;br /&gt;
  &amp;lt;/alias&amp;gt;&lt;br /&gt;
&amp;lt;/cmud&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Designer comments ==&lt;br /&gt;
Feel free to note me [[User:Shalineth|here]] or on board 2 to Shalineth with any feedback or suggestions.&lt;br /&gt;
&lt;br /&gt;
[[Category: Cmud Scripting]]&lt;/div&gt;</summary>
		<author><name>Shalineth</name></author>
		
	</entry>
</feed>