<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://war.app/index.php?action=history&amp;feed=atom&amp;title=Mod_API_Reference%3AArmies</id>
	<title>Mod API Reference:Armies - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://war.app/index.php?action=history&amp;feed=atom&amp;title=Mod_API_Reference%3AArmies"/>
	<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:Armies&amp;action=history"/>
	<updated>2026-04-18T21:15:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:Armies&amp;diff=4762&amp;oldid=prev</id>
		<title>DanWL60 at 16:46, 4 December 2018</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:Armies&amp;diff=4762&amp;oldid=prev"/>
		<updated>2018-12-04T16:46:44Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:46, 4 December 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-l13&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;Subtract&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;&amp;#039;armies&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:Armies|Armies]]&amp;#039;&amp;#039;) returns [[Mod API Reference:Armies|Armies]]:  Similar to Add, except removes the armies and special units in the passed structure.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;Subtract&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;&amp;#039;armies&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;[[Mod API Reference:Armies|Armies]]&amp;#039;&amp;#039;) returns [[Mod API Reference:Armies|Armies]]:  Similar to Add, except removes the armies and special units in the passed structure.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;WL.Armies.Create&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;&amp;#039;armies&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;specialUnitsOpt&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;Array&amp;lt;[[Mod API Reference:SpecialUnit|SpecialUnit]]&amp;gt;&amp;#039;&amp;#039;) (static) returns [[Mod API Reference:Armies|Armies]]:  Creates an army instance with the passed armies and special units.  Special units can be nil, omitted, or an empty array if there aren&amp;#039;t any.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;WL.Armies.Create&amp;#039;&amp;#039;&amp;#039;(&amp;#039;&amp;#039;&amp;#039;armies&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;specialUnitsOpt&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;Array&amp;lt;[[Mod API Reference:SpecialUnit|SpecialUnit]]&amp;gt;&amp;#039;&amp;#039;) (static) returns [[Mod API Reference:Armies|Armies]]:  Creates an army instance with the passed armies and special units.  Special units can be nil, omitted, or an empty array if there aren&amp;#039;t any.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;[[Category:Mod API Reference]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DanWL60</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:Armies&amp;diff=3959&amp;oldid=prev</id>
		<title>Fizzer at 23:19, 10 April 2017</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:Armies&amp;diff=3959&amp;oldid=prev"/>
		<updated>2017-04-10T23:19:32Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:19, 10 April 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-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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;NumArmies&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: Number of normal armies here.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;NumArmies&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: Number of normal armies here.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;SpecialUnits&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;Array&amp;lt;[[Mod API Reference:SpecialUnit|SpecialUnit]]&amp;gt;&amp;#039;&amp;#039;: An array of special units here.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;SpecialUnits&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;Array&amp;lt;[[Mod API Reference:SpecialUnit|SpecialUnit]]&amp;gt;&amp;#039;&amp;#039;: An array of special units here.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;== Functions ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* &#039;&#039;&#039;Add&#039;&#039;&#039;(&#039;&#039;&#039;armies&#039;&#039;&#039; &#039;&#039;[[Mod API Reference:Armies|Armies]]&#039;&#039;) returns [[Mod API Reference:Armies|Armies]]:  Combines two armies structures and returns the result.  The normal armies are added together, and special units from both Armies structures are returned in the resulting one.  As Armies is an immutable class, neither army structures are changed and instead a third Armies instance is created.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* &#039;&#039;&#039;Subtract&#039;&#039;&#039;(&#039;&#039;&#039;armies&#039;&#039;&#039; &#039;&#039;[[Mod API Reference:Armies|Armies]]&#039;&#039;) returns [[Mod API Reference:Armies|Armies]]:  Similar to Add, except removes the armies and special units in the passed structure.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;* &#039;&#039;&#039;WL.Armies.Create&#039;&#039;&#039;(&#039;&#039;&#039;armies&#039;&#039;&#039; &#039;&#039;integer&#039;&#039;, &#039;&#039;&#039;specialUnitsOpt&#039;&#039;&#039; &#039;&#039;Array&amp;lt;[[Mod API Reference:SpecialUnit|SpecialUnit]]&amp;gt;&#039;&#039;) (static) returns [[Mod API Reference:Armies|Armies]]:  Creates an army instance with the passed armies and special units.  Special units can be nil, omitted, or an empty array if there aren&#039;t any.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:Armies&amp;diff=3957&amp;oldid=prev</id>
		<title>Fizzer at 21:57, 8 April 2017</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:Armies&amp;diff=3957&amp;oldid=prev"/>
		<updated>2017-04-08T21:57:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:57, 8 April 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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&#039;&#039;&#039;Armies&#039;&#039;&#039;: Represents the number of armies on a territory (access &#039;&#039;&#039;NumArmies&#039;&#039;&#039;), what special units are there (access &#039;&#039;&#039;SpecialUnits&#039;&#039;&#039;), and also has the possibility if being the special &#039;fogged&#039; value which indicates that a client cannot see the armies here.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&#039;&#039;&#039;Armies&#039;&#039;&#039;: Represents the number of armies on a territory (access &#039;&#039;&#039;NumArmies&#039;&#039;&#039;), what special units are there (access &#039;&#039;&#039;SpecialUnits&#039;&#039;&#039;), and also has the possibility if being the special &#039;fogged&#039; value which indicates that a client cannot see the armies here&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.  Armies is an immutable object and can never be modified.  Instead of modifying it, create a new Armies object and assign this back to wherever it&#039;s assigned&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;ArmiesOrZero&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: A helper that returns the number of armies, or zero if the structure is fogged.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;ArmiesOrZero&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: A helper that returns the number of armies, or zero if the structure is fogged.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;AttackPower&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: A helper that calculates the attack power of special units plus the number of armies here.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;#039;&amp;#039;&amp;#039;AttackPower&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: A helper that calculates the attack power of special units plus the number of armies here.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Mod_API_Reference:Armies&amp;diff=3870&amp;oldid=prev</id>
		<title>Fizzer: Created page with &quot;&#039;&#039;&#039;Armies&#039;&#039;&#039;: Represents the number of armies on a territory (access &#039;&#039;&#039;NumArmies&#039;&#039;&#039;), what special units are there (access &#039;&#039;&#039;SpecialUnits&#039;&#039;&#039;), and also has the possibility i...&quot;</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Mod_API_Reference:Armies&amp;diff=3870&amp;oldid=prev"/>
		<updated>2017-04-04T06:19:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Armies&amp;#039;&amp;#039;&amp;#039;: Represents the number of armies on a territory (access &amp;#039;&amp;#039;&amp;#039;NumArmies&amp;#039;&amp;#039;&amp;#039;), what special units are there (access &amp;#039;&amp;#039;&amp;#039;SpecialUnits&amp;#039;&amp;#039;&amp;#039;), and also has the possibility i...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Armies&amp;#039;&amp;#039;&amp;#039;: Represents the number of armies on a territory (access &amp;#039;&amp;#039;&amp;#039;NumArmies&amp;#039;&amp;#039;&amp;#039;), what special units are there (access &amp;#039;&amp;#039;&amp;#039;SpecialUnits&amp;#039;&amp;#039;&amp;#039;), and also has the possibility if being the special &amp;#039;fogged&amp;#039; value which indicates that a client cannot see the armies here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ArmiesOrZero&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: A helper that returns the number of armies, or zero if the structure is fogged.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;AttackPower&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: A helper that calculates the attack power of special units plus the number of armies here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;DefensePower&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: A helper that calculates the defense power of special units plus the number of armies here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Fogged&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;: True if the client cannot see how many armies or special units are here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;IsEmpty&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;boolean&amp;#039;&amp;#039;: A helper that returns true if &amp;#039;&amp;#039;&amp;#039;NumArmies&amp;#039;&amp;#039;&amp;#039; == 0 and no special units are here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;NumArmies&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;: Number of normal armies here.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;SpecialUnits&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;Array&amp;lt;[[Mod API Reference:SpecialUnit|SpecialUnit]]&amp;gt;&amp;#039;&amp;#039;: An array of special units here.&lt;/div&gt;</summary>
		<author><name>Fizzer</name></author>
	</entry>
</feed>