[1.0.9t,s,r,q,p...] Incomplete XML references in CoreUnits.xml
Not all units have all their UnitStats set and so the default is being used. In particular, some units start the game with 10 Constitution (system default I guess) but new units use the defaults from Kingdom_GenericBaseUnit_Male.
Current code typically looks like this:
- <!-- levels -->
- <LevelMilestone InternalName="L1">
- <Level>1</Level>
- <UnitStat_HitPoints>0</UnitStat_HitPoints>
- <UnitStat_Defense>0</UnitStat_Defense>
- <UnitStat_CombatSpeed>2</UnitStat_CombatSpeed>
- <UnitStat_Sight>3</UnitStat_Sight>
- <Intelligence>0</Intelligence>
- <UnitStat_Charisma>0</UnitStat_Charisma>
- <UnitStat_Essence>0</UnitStat_Essence>
- <UnitStat_Experience>5</UnitStat_Experience>
- <UnitStat_ExpToNextLevel>20</UnitStat_ExpToNextLevel>
- </LevelMilestone>
- <LevelMilestone InternalName="L10">
- <Level>10</Level>
- <UnitStat_HitPoints>36</UnitStat_HitPoints>
- <UnitStat_Attack>2</UnitStat_Attack>
- <UnitStat_Defense>0</UnitStat_Defense>
- <UnitStat_CombatSpeed>10</UnitStat_CombatSpeed>
- <UnitStat_Sight>4</UnitStat_Sight>
- <Intelligence>0</Intelligence>
- <UnitStat_Charisma>0</UnitStat_Charisma>
- <UnitStat_Essence>0</UnitStat_Essence>
- <UnitStat_Experience>15</UnitStat_Experience>
- <UnitStat_ExpToNextLevel>300</UnitStat_ExpToNextLevel>
- </LevelMilestone>
Should have the line '<UnitStat_Constitution>5</UnitStat_Constitution>' added:
- <!-- levels -->
- <LevelMilestone InternalName="L1">
- <Level>1</Level>
- <UnitStat_HitPoints>0</UnitStat_HitPoints>
- <UnitStat_Defense>0</UnitStat_Defense>
- <UnitStat_CombatSpeed>2</UnitStat_CombatSpeed>
- <UnitStat_Sight>3</UnitStat_Sight>
- <Intelligence>0</Intelligence>
- <UnitStat_Charisma>0</UnitStat_Charisma>
- <UnitStat_Constitution>5</UnitStat_Constitution>
- <UnitStat_Essence>0</UnitStat_Essence>
- <UnitStat_Experience>5</UnitStat_Experience>
- <UnitStat_ExpToNextLevel>20</UnitStat_ExpToNextLevel>
- </LevelMilestone>
- <LevelMilestone InternalName="L10">
- <Level>10</Level>
- <UnitStat_HitPoints>36</UnitStat_HitPoints>
- <UnitStat_Attack>2</UnitStat_Attack>
- <UnitStat_Defense>0</UnitStat_Defense>
- <UnitStat_CombatSpeed>10</UnitStat_CombatSpeed>
- <UnitStat_Sight>4</UnitStat_Sight>
- <Intelligence>0</Intelligence>
- <UnitStat_Charisma>0</UnitStat_Charisma>
- <UnitStat_Constitution>5</UnitStat_Constitution>
- <UnitStat_Essence>0</UnitStat_Essence>
- <UnitStat_Experience>15</UnitStat_Experience>
- <UnitStat_ExpToNextLevel>300</UnitStat_ExpToNextLevel>
- </LevelMilestone>
This affects:
Sovereign_MaleSpouse
Sovereign_FemaleSpouse
Kingdom_Soldier
Kingdom_Pioneer
Ironeer
Fallen_Ambassador
Empire_GenericBaseUnit_Female
Fallen_Pioneer
@Stardock: BTW, I'm not sure if this is helpful to your process or not because I've been providing feedback on this now for quite a few beta versions but it hasn't made the todo list or the changelog - yet it clearly is a bug. Please let me know if I should just drop reporting this in future because it feels strange repeating the same information over and over.