<StrVal>A_Training_RefinedCrystal</StrVal> - Yes or No?

Will this work??

 

  <AbilityBonus InternalName="MythicCrystalSmithsAbility">
        <AbilityBonusType>Player</AbilityBonusType>
        <AbilityBonusOption InternalName="CrystalSmiths">
            <DisplayName>Crystal Smiths</DisplayName>
            <Description>Armor and weapons cost half the normal production.  Upgrading units is half the cost.  </Description>
            <Icon>Ability_MasterSmiths_Icon.png</Icon>
            <GameModifier>
                <ModType>Player</ModType>
                <Attribute>AbilityBonus</Attribute>
                <StrVal>A_Training_RefinedCrystal</StrVal>
                <Value>-50</Value>
                <Provides>-50% Crystal costs for weapons and armor</Provides>
            </GameModifier>
            <GameModifier>
                <ModType>Player</ModType>
                <Attribute>AbilityBonus</Attribute>
                <StrVal>A_Training_Labor_Equipment</StrVal>
                <Value>-50</Value>
                <Provides>-50% Production cost for weapons and armor</Provides>
            </GameModifier>
            <GameModifier>
                <ModType>Player</ModType>
                <Attribute>AbilityBonus</Attribute>
                <StrVal>A_UnitUpgrades</StrVal>
                <Value>-50</Value>
                <Provides>-50% Upgrade costs</Provides>
            </GameModifier>
            <Cost>2</Cost>
            <HideWhenUpgraded>0</HideWhenUpgraded>
            <Type>Army</Type>
            <AIData AIPersonality="AI_General">
                <AIPriority>5</AIPriority>
            </AIData>
        </AbilityBonusOption>
    </AbilityBonus>

 

Code says it all, as far as what I am trying to do.

5,981 views 4 replies
Reply #1 Top


As far as I know it should.

Reply #2 Top


Did you have a chance to check it?

Reply #3 Top

It works! I am now starting to tinker with other global variables.

 

I learned you can't use "Faction Experience" (Trainer for all units).

 

This will also allow Wargs and Horses to come from Faction Traits. Likewise, penalties to production of these resources for flaws.