Infantry Units stats and properties can be modified as a whole, by using the GameEnums.UnitType_Infantry variable:

For instance:


Modifying stats or properties of specific Units

Each Unit can be modified through a comparison of the UnitID. The Unit ID can be obtained through unit.getUnitID() And it's of a String type.

Possible values are:

Ground Units
INFANTRY MECH SNIPER MOTORBIKE[1]
ZCOUNIT_PARTISAN ZCOUNIT_COMMANDO[2] ZCOUNIT_RANGER[3] ZCOUNIT_AT_CYCLE[4]


Of these, the ones with the ZCOUNIT_ prefix are Units specific to COs that cannot be deployed by the rest.

Notes

  1. Same Unit as Anti Air
  2. Same Unit as Md Tank
  3. Same Unit as Oozium
  4. Same Unit as Tank