automatic promotion not working

Vorpal+5

Venturing in Erebus
Joined
Mar 25, 2008
Messages
658
Hi,

I don't understand why this is not working. I'm trying to give to all barbarians (Bhall) an automatic promotion, but they don't get it, why? I pretty much copy pasted the wasteland defender from DTesh, I don't see what I'm doing wrong.

clipboard01gy.jpg
 
It was listed, for archers for example, and with the editor I saw that the starting archers in barbs cities did not had it. Confused I'm!

Code:
<PromotionInfo>		<!-- Strong Wildorcs -->
			<Type>PROMOTION_STRONG_BARBARIAN</Type>
			<Description>Strong Barbarians</Description>
			<iPower>6</iPower>
			<bAutoAcquire>1</bAutoAcquire>
			<bNoXP>1</bNoXP>
			<iSlaveGenerationChance>25</iSlaveGenerationChance>
			<bFreeUnit>1</bFreeUnit>
			<bNoSupply>1</bNoSupply>
			<bNoSupport>1</bNoSupport>			
			<PrereqCivilizations>
				<PrereqCivilization>CIVILIZATION_ORC</PrereqCivilization>
			</PrereqCivilizations>
			<UnitCombats>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_WORKER</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_NAVAL</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_SIEGE</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_ADEPT</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_ANIMAL</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_ARCHER</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_BEAST</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_DISCIPLE</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_MOUNTED</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
				<UnitCombat>
					<UnitCombatType>UNITCOMBAT_RECON</UnitCombatType>
					<bUnitCombat>1</bUnitCombat>
				</UnitCombat>
			</UnitCombats>			
			<iExperiencePercent>25</iExperiencePercent>			
			<Button>Art/Interface/Buttons/Promotions/VileTouch.dds</Button>
			<iAIWeight>100</iAIWeight>
			<iExtraCombatStr>1</iExtraCombatStr>
			<iExtraCombatDefense>1</iExtraCombatDefense>
			<iMinLevel>-1</iMinLevel>
		</PromotionInfo>
 
Code:
<iMinLevel>-1</iMinLevel>

Remove it and things should be fine. I've been bitten by it myself.

On another note, they will retain the promotion if captured. Is that what you want?
 
iMinLevel= -1 is special, it means the promotion cannot be taken. Requires level &#8734; essentially. Many ways of getting a promotion ignores this, like Mimic copy, randomly applied promotions (like Crazed), leader traits, Blessed from the Altar, python, spells, promotions given to commanders...

As for removing the promotion when captured, add <bMustMaintain>1</bMustMaintain> . Any time the unit could no longer take the promotion, it will be removed.
 
Back
Top Bottom