Either put all units of each armor type into an unit-group array, or give them all a custom value. This would take awhile if you use more than a few types of unit.
Either put all units of each armor type into an unit-group array, or give them all a custom value. This would take awhile if you use more than a few types of unit.