<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.commanderwars.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Creed</id>
	<title>Commander Wars - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.commanderwars.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Creed"/>
	<link rel="alternate" type="text/html" href="https://www.commanderwars.com/wiki/Special:Contributions/Creed"/>
	<updated>2026-10-01T10:35:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.1</generator>
	<entry>
		<id>https://www.commanderwars.com/w/index.php?title=Air_Units&amp;diff=4700</id>
		<title>Air Units</title>
		<link rel="alternate" type="text/html" href="https://www.commanderwars.com/w/index.php?title=Air_Units&amp;diff=4700"/>
		<updated>2026-09-30T02:49:59Z</updated>

		<summary type="html">&lt;p&gt;Creed: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Air Units&#039; stats and properties can be modified as a whole, by using the &#039;&#039;&#039;GameEnums.UnitType_Air&#039;&#039;&#039; variable.For instance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CO_TEST.getOffensiveBonus = function (co, attacker, atkPosX, atkPosY,&lt;br /&gt;
    defender, defPosX, defPosY, isDefender, action,luckmode, map) {&lt;br /&gt;
&lt;br /&gt;
    if (co.getIsCO0() === true) {&lt;br /&gt;
            switch (co.getPowerMode()) {&lt;br /&gt;
&lt;br /&gt;
            case GameEnums.PowerMode_Power:&lt;br /&gt;
                if (attacker.getUnitType() === GameEnums.UnitType_Air) {&lt;br /&gt;
                    return 30;&lt;br /&gt;
                }&lt;br /&gt;
            break; &lt;br /&gt;
       //rest of the code goes here&lt;br /&gt;
       }&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increases the Offense of Air Units by 30% during the CO Power.&lt;br /&gt;
&lt;br /&gt;
==Modifying stats or properties of specific Units==&lt;br /&gt;
Each Unit can be modified through a comparison of the UnitID. The Unit ID  can be obtained through &#039;&#039;&#039;unit.getUnitID()&#039;&#039;&#039; And it&#039;s of a String type.&lt;br /&gt;
&lt;br /&gt;
Possible values are, along with their weapon names:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto;text-align: center&amp;quot;&lt;br /&gt;
|+ Air units and their weapon strings&lt;br /&gt;
|-&lt;br /&gt;
!Air Units !!Primary Weapon String!! Secondary Weapon String&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;K_HELI&#039;&#039;&#039;&amp;lt;ref&amp;gt;Same Unit as Battlecopters&amp;lt;/ref&amp;gt; || WEAPON_AIR_TO_GROUND_MISSILE ||WEAPON_K_HELI_MG&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;T_HELI&#039;&#039;&#039;&amp;lt;ref&amp;gt;Same Unit as Transport Copters&amp;lt;/ref&amp;gt;|| N/A||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;DUSTER&#039;&#039;&#039;&amp;lt;ref&amp;gt;Same Unit as that from Days of Ruin/Dark Conflict&amp;lt;/ref&amp;gt;|| WEAPON_AIRPLANE_MG||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;BOMBER&#039;&#039;&#039;||WEAPON_BOMB||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;STEALTHBOMBER&#039;&#039;&#039;||WEAPON_STEALTHROCKET||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;TRANSPORTPLANE&#039;&#039;&#039;||N/A||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;FIGHTER&#039;&#039;&#039;||WEAPON_AIR_TO_AIR_MISSILE||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;WATERPLANE&#039;&#039;&#039;&amp;lt;ref&amp;gt;Same Unit as that from Days of Ruin/Dark Conflict&amp;lt;/ref&amp;gt;||WEAPON_WATERPLANE_MISSILE||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;ZCOUNIT_KIROV&#039;&#039;&#039;&amp;lt;ref&amp;gt;CO Unit of Tasha, Eagle, Waylon&amp;lt;/ref&amp;gt;||WEAPON_BOMB||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;BLACK_BOMB&#039;&#039;&#039;||N/A||N/A&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Of these, the ones with the &#039;&#039;&#039;ZCOUNIT_&#039;&#039;&#039; prefix are Units specific to COs that cannot be deployed by the rest.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Units]]&lt;br /&gt;
[[Category:UnitIDs]]&lt;br /&gt;
[[Category:Modding tutorials]]&lt;/div&gt;</summary>
		<author><name>Creed</name></author>
	</entry>
	<entry>
		<id>https://www.commanderwars.com/w/index.php?title=Air_Units&amp;diff=4699</id>
		<title>Air Units</title>
		<link rel="alternate" type="text/html" href="https://www.commanderwars.com/w/index.php?title=Air_Units&amp;diff=4699"/>
		<updated>2026-09-30T02:49:37Z</updated>

		<summary type="html">&lt;p&gt;Creed: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Air Units&#039; stats and properties can be modified as a whole, by using the &#039;&#039;&#039;GameEnums.UnitType_Air&#039;&#039;&#039; variable.For instance:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
CO_TEST.getOffensiveBonus = function (co, attacker, atkPosX, atkPosY,&lt;br /&gt;
    defender, defPosX, defPosY, isDefender, action,luckmode, map) {&lt;br /&gt;
&lt;br /&gt;
    if (co.getIsCO0() === true) {&lt;br /&gt;
            switch (co.getPowerMode()) {&lt;br /&gt;
&lt;br /&gt;
            case GameEnums.PowerMode_Power:&lt;br /&gt;
                if (attacker.getUnitType() === GameEnums.UnitType_Air) {&lt;br /&gt;
                    return 30;&lt;br /&gt;
                }&lt;br /&gt;
            break; &lt;br /&gt;
       //rest of the code goes here&lt;br /&gt;
       }&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Increases the Offense of Air Units by 30% during the CO Power.&lt;br /&gt;
&lt;br /&gt;
(this is an edit test by creed)&lt;br /&gt;
&lt;br /&gt;
==Modifying stats or properties of specific Units==&lt;br /&gt;
Each Unit can be modified through a comparison of the UnitID. The Unit ID  can be obtained through &#039;&#039;&#039;unit.getUnitID()&#039;&#039;&#039; And it&#039;s of a String type.&lt;br /&gt;
&lt;br /&gt;
Possible values are, along with their weapon names:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;margin:auto;text-align: center&amp;quot;&lt;br /&gt;
|+ Air units and their weapon strings&lt;br /&gt;
|-&lt;br /&gt;
!Air Units !!Primary Weapon String!! Secondary Weapon String&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;K_HELI&#039;&#039;&#039;&amp;lt;ref&amp;gt;Same Unit as Battlecopters&amp;lt;/ref&amp;gt; || WEAPON_AIR_TO_GROUND_MISSILE ||WEAPON_K_HELI_MG&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;T_HELI&#039;&#039;&#039;&amp;lt;ref&amp;gt;Same Unit as Transport Copters&amp;lt;/ref&amp;gt;|| N/A||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;DUSTER&#039;&#039;&#039;&amp;lt;ref&amp;gt;Same Unit as that from Days of Ruin/Dark Conflict&amp;lt;/ref&amp;gt;|| WEAPON_AIRPLANE_MG||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;BOMBER&#039;&#039;&#039;||WEAPON_BOMB||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;STEALTHBOMBER&#039;&#039;&#039;||WEAPON_STEALTHROCKET||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;TRANSPORTPLANE&#039;&#039;&#039;||N/A||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;FIGHTER&#039;&#039;&#039;||WEAPON_AIR_TO_AIR_MISSILE||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;WATERPLANE&#039;&#039;&#039;&amp;lt;ref&amp;gt;Same Unit as that from Days of Ruin/Dark Conflict&amp;lt;/ref&amp;gt;||WEAPON_WATERPLANE_MISSILE||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;ZCOUNIT_KIROV&#039;&#039;&#039;&amp;lt;ref&amp;gt;CO Unit of Tasha, Eagle, Waylon&amp;lt;/ref&amp;gt;||WEAPON_BOMB||N/A&lt;br /&gt;
|-&lt;br /&gt;
|&#039;&#039;&#039;BLACK_BOMB&#039;&#039;&#039;||N/A||N/A&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Of these, the ones with the &#039;&#039;&#039;ZCOUNIT_&#039;&#039;&#039; prefix are Units specific to COs that cannot be deployed by the rest.&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Units]]&lt;br /&gt;
[[Category:UnitIDs]]&lt;br /&gt;
[[Category:Modding tutorials]]&lt;/div&gt;</summary>
		<author><name>Creed</name></author>
	</entry>
</feed>