Kobazco
Chieftain
- Joined
- Mar 6, 2016
- Messages
- 55
Hey everyone. I'm trying to take Kabul's unique trait of giving their suzerain 2 times the normal amount combat exp and make it part of a leader trait. I've taken the following lines and properly formatted them into the game as a leader trait. However, my units are not getting the 2x exp.
Here are the original lines I've taken from Leaders.xml
<Row>
<ModifierId>MINOR_CIV_KABUL_UNIT_EXPERIENCE_BONUS</ModifierId>
<ModifierType>MODIFIER_PLAYER_UNITS_ADJUST_UNIT_ATTACK_EXPERIENCE_MODIFIER</ModifierType>
</Row>
and
<Row>
<ModifierId>MINOR_CIV_KABUL_UNIT_EXPERIENCE_BONUS</ModifierId>
<Name>Amount</Name>
<Value>100</Value>
</Row>
I have changed these 2 things to this in my own leader.xml
<Row>
<ModifierId>TRAIT_XP_MODIFIER</ModifierId>
<ModifierType>MODIFIER_PLAYER_UNITS_ADJUST_UNIT_ATTACK_EXPERIENCE_MODIFIER</ModifierType>
</Row>
<Row>
<ModifierId>TRAIT_XP_MODIFIER</ModifierId>
<Name>Amount</Name>
<Value>100</Value>
</Row>
As far as I can tell, I've defined everything properly. Let me know if you somehow find out the solution. I'm going to move onto making unique units.
Here are the original lines I've taken from Leaders.xml
<Row>
<ModifierId>MINOR_CIV_KABUL_UNIT_EXPERIENCE_BONUS</ModifierId>
<ModifierType>MODIFIER_PLAYER_UNITS_ADJUST_UNIT_ATTACK_EXPERIENCE_MODIFIER</ModifierType>
</Row>
and
<Row>
<ModifierId>MINOR_CIV_KABUL_UNIT_EXPERIENCE_BONUS</ModifierId>
<Name>Amount</Name>
<Value>100</Value>
</Row>
I have changed these 2 things to this in my own leader.xml
<Row>
<ModifierId>TRAIT_XP_MODIFIER</ModifierId>
<ModifierType>MODIFIER_PLAYER_UNITS_ADJUST_UNIT_ATTACK_EXPERIENCE_MODIFIER</ModifierType>
</Row>
<Row>
<ModifierId>TRAIT_XP_MODIFIER</ModifierId>
<Name>Amount</Name>
<Value>100</Value>
</Row>
As far as I can tell, I've defined everything properly. Let me know if you somehow find out the solution. I'm going to move onto making unique units.