<?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[Change maxBuiltPerPlayer by a trigger]]></title><description><![CDATA[<p dir="auto">At the start of the game, the Axis powers have only one truck available to them (reflected by      &lt;option name="maxBuiltPerPlayer" value="1"/&gt;)</p>
<pre><code>&lt;attachment name="unitAttachment" attachTo="axis-truck" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType"&gt;
	&lt;option name="movement" value="2"/&gt;
	&lt;option name="attack" value="0"/&gt;
	&lt;option name="defense" value="0"/&gt;
	&lt;!-- &lt;option name="canBeDamaged" value="true"/&gt; --&gt;
	&lt;!-- &lt;option name="maxDamage" value="1"/&gt; --&gt;
	&lt;!-- &lt;option name="canDieFromReachingMaxDamage" value="true"/&gt; --&gt;
	&lt;option name="isLandTransport" value="true"/&gt;
	&lt;option name="transportCapacity" value="6"/&gt;
	&lt;option name="isLandTransportable" value="false"/&gt;
	&lt;option name="isInfrastructure" value="true"/&gt;
	&lt;option name="isAAmovement" value="true"/&gt;
    &lt;option name="destroyedWhenCapturedBy" value="British:Americans"/&gt;
	&lt;option name="isConstruction" value="true"/&gt;
  &lt;option name="constructionsPerTerrPerTypePerTurn" value="1"/&gt;
  &lt;option name="maxConstructionsPerTypePerTerr" value="1"/&gt;
  &lt;option name="maxBuiltPerPlayer" value="1"/&gt;
  &lt;option name="constructionType" value="axis-truck"/&gt;
&lt;/attachment&gt;
</code></pre>
<p dir="auto">At the start of round 7, the axis power should have an extra truck available. So the value needs to change to 2. Is it possible to do so via a trigger?</p>
]]></description><link>https://forums.triplea-game.org/topic/4281/change-maxbuiltperplayer-by-a-trigger</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Nov 2026 13:42:11 GMT</lastBuildDate><atom:link href="https://forums.triplea-game.org/topic/4281.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Mar 2026 07:02:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Thu, 26 Mar 2026 13:49:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rogercooper" aria-label="Profile: rogercooper">@<bdi>rogercooper</bdi></a> said in <a href="/post/75958">Change maxBuiltPerPlayer by a trigger</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victoryfirst" aria-label="Profile: victoryfirst">@<bdi>victoryfirst</bdi></a> Could this be used to change any value on an unit attachment? Potentially very useful.</p>
<p dir="auto">For example, in Axis &amp; Allies: Pacific, Commonwealth and American units have a defense strength of one on the first turn. They could start 1 and then be upgraded to their regular values at the end of the Japanese turn.</p>
</blockquote>
<p dir="auto">Yes, definitely yes. Just tried this in my improved module for Axis and Allies D-Day.</p>
<p dir="auto">The module was already finished for some time but I thought it would be a good idea to add some various game options to help balance the game. The_Good_Captain made a series on A&amp;A D-Day where he recommended some balancing changes. There was one he didn't mention in his video but did consider and that was: "Allied Bombers attack at 4 instead of 3". The game is too pro-German and having this as an optional rule helps out the Allies.</p>
<pre><code>&lt;attachment name="BombersAttackAt4" attachTo="USA-UK" javaClass="RulesAttachment" type="player"&gt;
	&lt;option name="gameProperty" value="Allied Bombers Attack At 4"/&gt;
&lt;/attachment&gt;
&lt;attachment name="triggerAttachmentBombersAttackAt4" attachTo="USA-UK" javaClass="TriggerAttachment" type="player"&gt;
	&lt;option name="conditions" value="BombersAttackAt4"/&gt;
	&lt;option name="unitType" value="UKbomber:USAbomber"/&gt;
	&lt;option name="unitAttachmentName" value="UnitAttachment" count="unitAttachment"/&gt;
	&lt;option name="unitProperty" value="attack" count="4"/&gt;
	&lt;option name="uses" value="1"/&gt;
	&lt;option name="when" value="before:ParaSurpriseBattle"/&gt;
&lt;/attachment&gt;
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1774522397821-87fac4a0-a27c-4711-9aa7-d84957427a36-image.png" alt="87fac4a0-a27c-4711-9aa7-d84957427a36-image.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">There you have it! Very useful indeed.</p>
]]></description><link>https://forums.triplea-game.org/post/76143</link><guid isPermaLink="true">https://forums.triplea-game.org/post/76143</guid><dc:creator><![CDATA[VictoryFirst]]></dc:creator><pubDate>Thu, 26 Mar 2026 13:49:01 GMT</pubDate></item><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Thu, 19 Mar 2026 20:06:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victoryfirst" aria-label="Profile: victoryfirst">@<bdi>victoryfirst</bdi></a> said in <a href="/post/75978">Change maxBuiltPerPlayer by a trigger</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rogercooper" aria-label="Profile: rogercooper">@<bdi>rogercooper</bdi></a> I was planning to work on an improved module for A&amp;A Pacific. The_Good_Captain made a detailed bug report for that game. Were you planning to work on it as well or did you already start working on it? Perhaps we could do it together.</p>
</blockquote>
<p dir="auto">Go ahead on that mod. I am working on a different project <a href="https://forums.triplea-game.org/topic/4282/east-west">East &amp; West</a>. Of course, I will be happy to help if you run into any problems.</p>
<p dir="auto">One thing I am planning on doing with future mods is to include a standardized version using the v3 or v5 rules to make the game easier for casual players.</p>
]]></description><link>https://forums.triplea-game.org/post/75984</link><guid isPermaLink="true">https://forums.triplea-game.org/post/75984</guid><dc:creator><![CDATA[RogerCooper]]></dc:creator><pubDate>Thu, 19 Mar 2026 20:06:17 GMT</pubDate></item><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Thu, 19 Mar 2026 09:01:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rogercooper" aria-label="Profile: rogercooper">@<bdi>rogercooper</bdi></a> I was planning to work on an improved module for A&amp;A Pacific. The_Good_Captain made a detailed bug report for that game. Were you planning to work on it as well or did you already start working on it? Perhaps we could do it together.</p>
]]></description><link>https://forums.triplea-game.org/post/75978</link><guid isPermaLink="true">https://forums.triplea-game.org/post/75978</guid><dc:creator><![CDATA[VictoryFirst]]></dc:creator><pubDate>Thu, 19 Mar 2026 09:01:40 GMT</pubDate></item><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Thu, 19 Mar 2026 08:59:15 GMT]]></title><description><![CDATA[<pre><code>&lt;option name="unitAttachmentName" value="UnitAttachment" count="unitAttachment"/&gt;
</code></pre>
<p dir="auto">Btw I must say that I love this line. It makes no sense at all lol</p>
]]></description><link>https://forums.triplea-game.org/post/75977</link><guid isPermaLink="true">https://forums.triplea-game.org/post/75977</guid><dc:creator><![CDATA[VictoryFirst]]></dc:creator><pubDate>Thu, 19 Mar 2026 08:59:15 GMT</pubDate></item><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Thu, 19 Mar 2026 08:57:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/beelee" aria-label="Profile: beelee">@<bdi>beelee</bdi></a> You can edit your post and delete everything and then type "this post is deleted". That's what I always do <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f605.png?v=fbe62970dd5" class="not-responsive emoji emoji-android emoji--sweat_smile" style="height:1.4em;width:auto;vertical-align:middle" title="😅" alt="😅" /></p>
]]></description><link>https://forums.triplea-game.org/post/75976</link><guid isPermaLink="true">https://forums.triplea-game.org/post/75976</guid><dc:creator><![CDATA[VictoryFirst]]></dc:creator><pubDate>Thu, 19 Mar 2026 08:57:14 GMT</pubDate></item><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Thu, 19 Mar 2026 01:14:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rogercooper" aria-label="Profile: rogercooper">@<bdi>rogercooper</bdi></a> said in <a href="/post/75958">Change maxBuiltPerPlayer by a trigger</a>:</p>
<blockquote>
<p dir="auto">Could this be used to change any value on an unit attachment?</p>
</blockquote>
<p dir="auto">I believe so. I have used it for many different changes. It's in POS2</p>
<p dir="auto"><img src="/assets/uploads/files/1773881559623-screenshot-from-2026-03-18-19-52-17.png" alt="Screenshot from 2026-03-18 19-52-17.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">Not very detailed but redrum and hepps helped me figure it out and I just copied hepps stuff.</p>
<p dir="auto">Veqryn really did an amazing job with POS2.</p>
<p dir="auto">Edit<br />
lol double post. Wouldn't let me delete.</p>
<p dir="auto">Well veqryn deserves double recognition lol</p>
]]></description><link>https://forums.triplea-game.org/post/75965</link><guid isPermaLink="true">https://forums.triplea-game.org/post/75965</guid><dc:creator><![CDATA[beelee]]></dc:creator><pubDate>Thu, 19 Mar 2026 01:14:13 GMT</pubDate></item><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Thu, 19 Mar 2026 00:55:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rogercooper" aria-label="Profile: rogercooper">@<bdi>rogercooper</bdi></a> said in <a href="/post/75958">Change maxBuiltPerPlayer by a trigger</a>:</p>
<blockquote>
<p dir="auto">Could this be used to change any value on an unit attachment?</p>
</blockquote>
<p dir="auto">I believe so. I have used it for many different changes. It's in POS2</p>
<p dir="auto"><img src="/assets/uploads/files/1773881559623-screenshot-from-2026-03-18-19-52-17.png" alt="Screenshot from 2026-03-18 19-52-17.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">Not very detailed but redrum and hepps helped me figure it out and I just copied hepps stuff. <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=fbe62970dd5" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Veqryn really did an amazing job with POS2.</p>
]]></description><link>https://forums.triplea-game.org/post/75963</link><guid isPermaLink="true">https://forums.triplea-game.org/post/75963</guid><dc:creator><![CDATA[beelee]]></dc:creator><pubDate>Thu, 19 Mar 2026 00:55:34 GMT</pubDate></item><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Wed, 18 Mar 2026 19:08:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victoryfirst" aria-label="Profile: victoryfirst">@<bdi>victoryfirst</bdi></a> Could this be used to change any value on an unit attachment? Potentially very useful.</p>
<p dir="auto">For example, in Axis &amp; Allies: Pacific, Commonwealth and American units have a defense strength of one on the first turn. They could start 1 and then be upgraded to their regular values at the end of the Japanese turn.</p>
]]></description><link>https://forums.triplea-game.org/post/75958</link><guid isPermaLink="true">https://forums.triplea-game.org/post/75958</guid><dc:creator><![CDATA[RogerCooper]]></dc:creator><pubDate>Wed, 18 Mar 2026 19:08:00 GMT</pubDate></item><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Mon, 16 Mar 2026 21:43:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/beelee" aria-label="Profile: beelee">@<bdi>beelee</bdi></a> It worked!!</p>
<pre><code>&lt;attachment name="triggerAttachmentAxisTruckLateWar" attachTo="Germans" javaClass="TriggerAttachment" type="player"&gt;
	&lt;option name="conditions" value="conditionAttachmentRound7"/&gt;	
	&lt;option name="unitType" value="axis-truck"/&gt;
	&lt;option name="unitAttachmentName" value="UnitAttachment" count="unitAttachment"/&gt;
	&lt;option name="unitProperty" value="maxBuiltPerPlayer" count="2"/&gt;
	&lt;option name="uses" value="1"/&gt;
	&lt;option name="when" value="before:americansPurchase"/&gt;
&lt;/attachment&gt;
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1773697361608-a84019bf-7fda-440f-b58b-45b2d82d3eb2-image.png" alt="a84019bf-7fda-440f-b58b-45b2d82d3eb2-image.png" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forums.triplea-game.org/post/75901</link><guid isPermaLink="true">https://forums.triplea-game.org/post/75901</guid><dc:creator><![CDATA[VictoryFirst]]></dc:creator><pubDate>Mon, 16 Mar 2026 21:43:47 GMT</pubDate></item><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Mon, 16 Mar 2026 11:59:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victoryfirst" aria-label="Profile: victoryfirst">@<bdi>victoryfirst</bdi></a></p>
<p dir="auto">Hi Victory</p>
<p dir="auto">If what the Dog suggested doesn't work try adding "UnitAttachmentName" to the trigger. Idk if it's needed but that's always the way I have done it.</p>
<p dir="auto"><img src="/assets/uploads/files/1773662189956-screenshot-from-2026-03-16-06-53-36.png" alt="Screenshot from 2026-03-16 06-53-36.png" class="img-markdown  img-fluid" /></p>
<p dir="auto">So the above takes a defend zero Transport and makes it defend at 1. Should just be able to swap in the max built unitAttachment. And have a condition for whatever rd you want it to fire.</p>
<p dir="auto">You might want to set it to rd 2 for testing <img src="https://forums.triplea-game.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=fbe62970dd5" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forums.triplea-game.org/post/75890</link><guid isPermaLink="true">https://forums.triplea-game.org/post/75890</guid><dc:creator><![CDATA[beelee]]></dc:creator><pubDate>Mon, 16 Mar 2026 11:59:17 GMT</pubDate></item><item><title><![CDATA[Reply to Change maxBuiltPerPlayer by a trigger on Mon, 16 Mar 2026 09:02:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/victoryfirst" aria-label="Profile: victoryfirst">@<bdi>victoryfirst</bdi></a><br />
Maybe, try the following in a trigger with a condition</p>
<pre><code>&lt;option name="unitType" value="axis-truck"/&gt;
&lt;option name="unitProperty" value="maxBuiltPerPlayer" count="2"/&gt;
&lt;option name="uses" value="1"/&gt;
</code></pre>
]]></description><link>https://forums.triplea-game.org/post/75888</link><guid isPermaLink="true">https://forums.triplea-game.org/post/75888</guid><dc:creator><![CDATA[TheDog]]></dc:creator><pubDate>Mon, 16 Mar 2026 09:02:23 GMT</pubDate></item></channel></rss>