DarthCycle
Dec 30, 2005, 02:45 PM
What inhibit air units from having experience points?
I noticed in CIV4UnitInfos.xml the properties iXPValueAttack and iXPValueDefense is set to 0. This prohibits the unit from gaining experience in combat.
I also noticed that <Combat> is set to NONE. This prohibits the unit from being eligible to any promotion (since it has to have a combat type in order to satisfy the condition in CIV4PromotionInfos.xml for <UnitCombatType>)
So far so good. But when you look at the civic vassalage, which gives all units 2 experience points, what is stopping air unit from gaining those 2 points? :confused:
I noticed in CIV4UnitInfos.xml the properties iXPValueAttack and iXPValueDefense is set to 0. This prohibits the unit from gaining experience in combat.
I also noticed that <Combat> is set to NONE. This prohibits the unit from being eligible to any promotion (since it has to have a combat type in order to satisfy the condition in CIV4PromotionInfos.xml for <UnitCombatType>)
So far so good. But when you look at the civic vassalage, which gives all units 2 experience points, what is stopping air unit from gaining those 2 points? :confused: