Support Attachment Question
-
How does a unit determine which unit to give support to if there are more units than the "number" that can be supported ?
For example, an artillery unit can support 3 different units but it can only support 1 at a time. How does it decide which one and can you force it to pick one ?
-
@beelee
Positive support is given to the strongest, by attack power, first.
Negative support is given to the weakest.There is no way to force support to one unit over another. And even though the above rules are simple, sometimes it may seem that TripleA gives support randomly.
Cheers...
-
@wc_sumpton hmm...that's what I thought but I'm getting the opposite effect. I have an A2 D4 and two A1 D2 all supported in the same attachment and it picks the A1 D2 units on Attack.
<attachment name="unitAttachment" attachTo="infantry" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
<option name="movement" value="1"/>
<option name="transportCost" value="2"/>
<option name="isInfantry" value="true"/>
<option name="attack" value="1"/>
<option name="defense" value="2"/>
<!--<option name="artillerySupportable" value="true"/>-->
<option name="isAirTransportable" value="true"/>
</attachment><attachment name="unitAttachment" attachTo="guard_infantry" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType">
<option name="movement" value="2"/>
<option name="transportCost" value="2"/>
<option name="isInfantry" value="true"/>
<option name="attack" value="2"/>
<option name="defense" value="3"/>
<!--<option name="artillerySupportable" value="true"/>-->
<option name="isAirTransportable" value="true"/>
<option name="maxBuiltPerPlayer" value="9"/>
<option name="unitPlacementOnlyAllowedIn" value="Russia"/>
</attachment><!-- Mech Infantry --> <attachment name="unitAttachment" attachTo="mech_infantry" javaClass="games.strategy.triplea.attachments.UnitAttachment" type="unitType"> <option name="movement" value="2"/> <option name="transportCost" value="3"/> <option name="attack" value="1"/> <option name="defense" value="2"/> <!--<option name="artillerySupportable" value="true"/>--> <option name="receivesAbilityWhenWith" value="canBlitz:armour"/> <option name="canBeGivenByTerritoryTo" value="British"/> </attachment>
And the supportAttachment
<attachment name="supportAttachmentInfantryAndMechInf" attachTo="artillery" javaClass="games.strategy.triplea.attachments.UnitSupportAttachment" type="unitType">
<option name="unitType" value="infantry:guard_infantry:mech_infantry"/>
<option name="faction" value="allied"/>
<option name="side" value="offence"/>
<option name="dice" value="strength"/>
<option name="bonus" value="1"/>
<option name="number" value="1"/>
<option name="bonusType" value="infantry_bonus"/>
<option name="impArtTech" value="true"/>
<option name="players" value="Germans:Russians:Americans:British:French:Italians:Japanese:Chinese:ANZAC:French:Dutch"/>
</attachment>I tried a separate attachment for the Guards unit with same "bonusType" name but that just made the Artillery unit support 2 units.
-
@beelee well I sent an arty and inf against 2 inf and it had 48% success rate. I sent 1 tank and 1 inf and it had 51% success. Both had same attack power.
I guess it's just not gonna pick that Guard unit until all the other supported units are dead. Bummer.
I can't really think of any way to hack around it. Even if I could make a trigger work somehow, doubtful, if a Guard and arty were present in same TTy, it would negate the first attachment and I could use a second one for Guards only, It'd negate all the battles with artillery. Unless I could specify each TTy.
As I said, I'm doubtful of that idea.