1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

How to edit leader traits?

Discussion in 'Mod Creation Help' started by VCrakeV, May 11, 2017.

  1. VCrakeV

    VCrakeV Prince

    Joined:
    Aug 22, 2014
    Messages:
    449
    So, I was trying to edit Qin's wonder trait in the xml files. I managed to lower the percentage per builder charge (from 15 to 10). However, I could not find where to edit which wonders the trait applies to. Is it defined at all in the xml files? If not, which things are defined in them? I'm looking into making a generic overhaul mod using only xml files.
     
  2. LeeS

    LeeS Imperator Supporter

    Joined:
    Jul 23, 2013
    Messages:
    6,938
    Location:
    Illinois, USA
    TRAIT_BUILDER_WONDER_PERCENT applies to all wonders.

    Code:
    		<Row>
    			<ModifierId>TRAIT_BUILDER_WONDER_PERCENT</ModifierId>
    			<ModifierType>MODIFIER_PLAYER_ADJUST_UNIT_WONDER_PERCENT</ModifierType>
    		</Row>
    
     
    VCrakeV likes this.
  3. VCrakeV

    VCrakeV Prince

    Joined:
    Aug 22, 2014
    Messages:
    449
    Are you sure? That exact code is in the file, and last time I checked, Qin's trait only applied to Ancient and Classical wonders.
     
  4. CivilizationAce

    CivilizationAce Warlord

    Joined:
    Jan 17, 2017
    Messages:
    236
    Gender:
    Male
    I looked into that myself, but I think it's hidden from us in the effect.
     
  5. LeeS

    LeeS Imperator Supporter

    Joined:
    Jul 23, 2013
    Messages:
    6,938
    Location:
    Illinois, USA

Share This Page