So I've run into a little issue attempting to change prerequisites. Whenever I attempt to alter the prereq, the old requirement stays. This happens regardless if I use bforceOverwrite. This issue is exclusive to loading the change via a module.
For reference I am attempting to change the guardsman promotion to combat2 instead of combat4. After loading the module however, it tells me that I now need both of those promotions.
For reference I am attempting to change the guardsman promotion to combat2 instead of combat4. After loading the module however, it tells me that I now need both of those promotions.
Spoiler :
Code:
<PromotionInfo> <!-- Guardsman -->
<bForceOverwrite>1</bForceOverwrite>
<Type>PROMOTION_GUARDSMAN</Type>
<Description>TXT_KEY_PROMOTION_GUARDSMAN</Description>
<PrereqPromotionANDs>
<PrereqPromotionAND>
<PromotionType>PROMOTION_COMBAT2</PromotionType>
<iPrereqApplications>1</iPrereqApplications>
</PrereqPromotionAND>
</PrereqPromotionANDs>
<CityBonuses>
<CityBonus>
<bApplySelf>1</bApplySelf>
<bApplyTeam>1</bApplyTeam>
<fDefense>3</fDefense>
</CityBonus>
</CityBonuses>
<UnitCombats>
<UnitCombat>
<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
<iMaxApplications>0</iMaxApplications>
</UnitCombat>
<UnitCombat>
<UnitCombatType>UNITCOMBAT_BEAST</UnitCombatType>
<iMaxApplications>0</iMaxApplications>
</UnitCombat>
</UnitCombats>
<Button>Art/Interface/Buttons/Promotions/Guardsman.dds</Button>
<bTargetWeakestUnitCounter>1</bTargetWeakestUnitCounter>
</PromotionInfo>