FANDOM


A unitAttatchment, which is a list of players who will destroy a unit rather than capture it.

Requires that the "Units Can Be Destroyed Instead Of Captured" game property is present in the xml and is set to true.

Value: a colon delimited list of player names

Example usage:

<attatchment name="unitAttatchment" attatchTo="Encampment" javaClass="games.strategy.triplea.attatchments.UnitAttachment" type="unitType">

<option name="isFactory" value="true"/>

<option name="movement" value="0"/>

<option name="attack" value="0"/>

<option name="defense" value="0"/>

<option name="destroyedWhenCapturedBy" value="UnitedKingdom:Spain:KingdomOfPrussia:Russia:AustrianEmpire:France:OttomanEmpire:Sweden"/>

</attatchment>