Promotion update

Kwadjh

Warlord
Joined
Jul 24, 2011
Messages
110
Location
Paris / France
Hello,

I would like to update the promotion RANGE so this promotion can't be use by ARCHER but still be use by others UNITCOMBAT like SIEGE, NAVAL.

Any clues, how to do this ?

If I withdrawn all UnitCombatType able to use the promotion and just after add only the UnitCombatType I want to use the promotion, will this work ?

Spoiler :

<UnitPromotions_UnitCombats>

<Update>
<Where PromotionType="PROMOTION_RANGE"/>
<Set UnitCombatType=""/>
</Update>

<Row>
<PromotionType>PROMOTION_RANGE</PromotionType>
<UnitCombatType>UNITCOMBAT_SIEGE</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_RANGE</PromotionType>
<UnitCombatType>UNITCOMBAT_NAVAL</UnitCombatType>
</Row>

</UnitPromotions_UnitCombats>


Thanks a lot in advance.

Kwadjh
 
Hello,

I would like to update the promotion RANGE so this promotion can't be use by ARCHER but still be use by others UNITCOMBAT like SIEGE, NAVAL.

Any clues, how to do this ?

If I withdrawn all UnitCombatType able to use the promotion and just after add only the UnitCombatType I want to use the promotion, will this work ?

Spoiler :

<UnitPromotions_UnitCombats>

<Update>
<Where PromotionType="PROMOTION_RANGE"/>
<Set UnitCombatType=""/>
</Update>

<Row>
<PromotionType>PROMOTION_RANGE</PromotionType>
<UnitCombatType>UNITCOMBAT_SIEGE</UnitCombatType>
</Row>
<Row>
<PromotionType>PROMOTION_RANGE</PromotionType>
<UnitCombatType>UNITCOMBAT_NAVAL</UnitCombatType>
</Row>

</UnitPromotions_UnitCombats>


Thanks a lot in advance.

Kwadjh

Here is how I would try it:

Spoiler :
Code:
<Update>
		<Set PromotionType="Null"/>
		<Where UnitCombatType="UNITCOMBAT_ARCHER" PromotionType="PROMOTION_RANGE"/>
		</Update>

If "Null" doesn't work, then I would just input a promotion that is unnecessary and not already included in the list for class promotions. Something like PROMOTION_NO_CAPTURE, which would do the job without messing anything up.
 
Back
Top Bottom