Unless I've missed something, I think unit traits are hard-coded.
<Row>
<ModifierId>CAPTURE_COMBAT_UNITS_AS_WORKERS</ModifierId>
<Name>CanCapture</Name>
<Value>true</Value>
</Row>
<Row>
<ModifierId>CAPTURE_COMBAT_UNITS_AS_WORKERS</ModifierId>
<Name>UnitType</Name>
<Value>UNIT_BUILDER</Value>
</Row>
Oh, I meant the I think the effects are hard-coded, though I think I misunderstood the question in the first place, I though it was about the percentage chance of it happening.
What I want to do is:I think I misunderstood the question in the first place, I though it was about the percentage chance of it happening.
<Row Type="EFFECT_ADJUST_UNIT_COMBAT_CAPTURE" Kind="KIND_EFFECT"/>