<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Negating the loss of capital]]></title><description><![CDATA[<p dir="auto">I want a power to be unaffected by the loss of a capital. I tried this code:</p>
<pre><code>    &lt;attachment name="rulesAttachment" attachTo="Germans" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"&gt;
      &lt;option name="retainCapitalNumber" value="0"/&gt;
      &lt;option name="retainCapitalProduceNumber" value="0"/&gt;
    &lt;/attachment&gt;

</code></pre>
<p dir="auto">I received the error:</p>
<p dir="auto">GameParseException: map name: 'file:/C:/Users/Roger/triplea/downloadedMaps/Hypothetical_Operations/games/Operation-Dandelion.xml', game name: 'Operation Dandelion', Missing property definition for option 'retainCapitalNumber' in attachment 'rulesAttachment'</p>
<p dir="auto">What am I doing wrong?</p>
]]></description><link>https://forums.triplea-game.org/topic/2356/negating-the-loss-of-capital</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Apr 2026 04:49:22 GMT</lastBuildDate><atom:link href="https://forums.triplea-game.org/topic/2356.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Oct 2020 20:18:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Negating the loss of capital on Tue, 08 Dec 2020 11:19:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.triplea-game.org/uid/301">@alkexr</a> said in <a href="/post/43861">Negating the loss of capital</a>:</p>
<blockquote>
<p dir="auto">Try <code>playerAttachment</code> instead of <code>rulesAttachment</code> in both <code>name</code> and <code>javaClass</code>.<a href="https://mcdvoice.me/" target="_blank" rel="noopener noreferrer">mcdvoice</a></p>
</blockquote>
<p dir="auto">Thank you for the explanation. It is clear for me.</p>
]]></description><link>https://forums.triplea-game.org/post/45273</link><guid isPermaLink="true">https://forums.triplea-game.org/post/45273</guid><dc:creator><![CDATA[PerfectMaple]]></dc:creator><pubDate>Tue, 08 Dec 2020 11:19:10 GMT</pubDate></item><item><title><![CDATA[Reply to Negating the loss of capital on Sun, 25 Oct 2020 19:52:33 GMT]]></title><description><![CDATA[<p dir="auto">Thank you</p>
]]></description><link>https://forums.triplea-game.org/post/43874</link><guid isPermaLink="true">https://forums.triplea-game.org/post/43874</guid><dc:creator><![CDATA[RogerCooper]]></dc:creator><pubDate>Sun, 25 Oct 2020 19:52:33 GMT</pubDate></item><item><title><![CDATA[Reply to Negating the loss of capital on Sat, 24 Oct 2020 20:38:38 GMT]]></title><description><![CDATA[<p dir="auto">Try <code>playerAttachment</code> instead of <code>rulesAttachment</code> in both <code>name</code> and <code>javaClass</code>.</p>
]]></description><link>https://forums.triplea-game.org/post/43861</link><guid isPermaLink="true">https://forums.triplea-game.org/post/43861</guid><dc:creator><![CDATA[alkexr]]></dc:creator><pubDate>Sat, 24 Oct 2020 20:38:38 GMT</pubDate></item></channel></rss>