Help with a code [SOLVED]!

kingchris20

Wisdom Seeker
Joined
Jul 30, 2012
Messages
1,343
Location
Resident of Heaven; Currently in the Waiting Room
I'm having trouble applying the eagle warrior ability to my leader's unique trait.

Here is the code I have:
Spoiler :
Code:
<GameData>
    <Types>
        <Row Type="LEADER_KC20_TES_UMARIL" Kind="KIND_LEADER"/>
        <Row Type="LEADER_KC20_TES_UMARIL_TRAIT" Kind="KIND_TRAIT"/>
        <Row Type="ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS" Kind="KIND_ABILITY"/>
    </Types>
    <TypeTags>
        <Row Type="ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS" Tag="CLASS_LIGHT_CAVALRY"/>
        <Row Type="ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS" Tag="CLASS_RANGED_CAVALRY"/>
        <Row Type="ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS" Tag="CLASS_RECON"/>
        <Row Type="ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS" Tag="CLASS_MELEE"/>
        <Row Type="ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS" Tag="CLASS_ANTI_CAVALRY"/>
        <Row Type="ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS" Tag="CLASS_HEAVY_CAVALRY"/>
        <Row Type="ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS" Tag="CLASS_HEAVY_CHARIOT"/>
    </TypeTags>
    <Leaders>
        <Row LeaderType="LEADER_KC20_TES_UMARIL" Name="LOC_LEADER_KC20_TES_UMARIL_NAME" InheritFrom="LEADER_DEFAULT" SceneLayers="4"/>
    </Leaders>
    <LeaderTraits>
        <Row LeaderType="LEADER_KC20_TES_UMARIL" TraitType="LEADER_KC20_TES_UMARIL_TRAIT"/>
    </LeaderTraits>
    <Traits>
        <Row TraitType="LEADER_KC20_TES_UMARIL_TRAIT" Name="LOC_TRAIT_LEADER_KC20_TES_UMARIL_TRAIT_NAME" Description="LOC_TRAIT_LEADER_KC20_TES_UMARIL_TRAIT_DESCRIPTION"/>
    </Traits>
    <TraitModifiers>
        <Row>
            <TraitType>LEADER_KC20_TES_UMARIL_TRAIT</TraitType>
            <ModifierId>TRAIT_UMARIL_CAPTURE_COMBAT_UNITS_AS_BUILDERS</ModifierId>
        </Row>
    </TraitModifiers>
    <UnitAbilities>
        <Row UnitAbilityType="ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS" Name="LOC_ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS_NAME" Description="LOC_ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS_DESCRIPTION" Inactive="true"/>
    </UnitAbilities>
    <UnitAbilityModifiers>
        <Row>
            <UnitAbilityType>ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS</UnitAbilityType>
            <ModifierId>UMARIL_CAPTURE_COMBAT_UNITS_AS_SLAVES</ModifierId>
        </Row>
    </UnitAbilityModifiers>
    <Modifiers>
        <Row>
            <ModifierId>TRAIT_UMARIL_CAPTURE_COMBAT_UNITS_AS_BUILDERS</ModifierId>
            <ModifierType>MODIFIER_PLAYER_UNITS_ATTACH_MODIFIER</ModifierType>
        </Row>
        <Row>
            <ModifierId>TRAIT_UMARIL_CAPTURE_COMBAT_UNITS_AS_BUILDERS_MODIFIER</ModifierId>
            <ModifierType>MODIFIER_PLAYER_UNITS_GRANT_ABILITY</ModifierType>
        </Row>
        <Row>
            <ModifierId>UMARIL_CAPTURE_COMBAT_UNITS_AS_SLAVES</ModifierId>
            <ModifierType>MODIFIER_UNIT_ADJUST_COMBAT_CAPTURE</ModifierType>
        </Row>
    </Modifiers>
    <ModifierArguments>
        <Row>
            <ModifierId>TRAIT_UMARIL_CAPTURE_COMBAT_UNITS_AS_BUILDERS</ModifierId>
            <Name>ModifierId</Name>
            <Value>TRAIT_UMARIL_CAPTURE_COMBAT_UNITS_AS_BUILDERS_MODIFIER</Value>
        </Row>
        <Row>
            <ModifierId>TRAIT_UMARIL_CAPTURE_COMBAT_UNITS_AS_BUILDERS_MODIFIER</ModifierId>
            <Name>AbilityType</Name>
            <Value>ABILITY_KC20_TES_UMARIL_CAPTURE_COMBAT_UNITS</Value>
        </Row>
        <Row>
            <ModifierId>UMARIL_CAPTURE_COMBAT_UNITS_AS_SLAVES</ModifierId>
            <Name>CanCapture</Name>
            <Value>true</Value>
        </Row>
        <Row>
            <ModifierId>UMARIL_CAPTURE_COMBAT_UNITS_AS_SLAVES</ModifierId>
            <Name>UnitType</Name>
            <Value>UNIT_BUILDER</Value>
        </Row>
    </ModifierArguments>
    <ModifierStrings>
        <Row ModifierId="UMARIL_CAPTURE_COMBAT_UNITS_AS_SLAVES" Context="Preview" Text="LOC_ABILITY_CAPTIVE_WORKERS_MODIFIER_DESCRIPTION"/>
    </ModifierStrings>
</GameData>

and here is all the relevant code for an eagle warrior
Spoiler :
Code:
<GameData>
    <Types>
        <Row Type="CIVILIZATION_AZTEC" Kind="KIND_CIVILIZATION"/>
        <Row Type="TRAIT_CIVILIZATION_UNIT_AZTEC_EAGLE_WARRIOR" Kind="KIND_TRAIT" />
        <Row Type="UNIT_AZTEC_EAGLE_WARRIOR" Kind="KIND_UNIT"/>
        <Row Type="ABILITY_CAPTIVE_WORKERS" Kind="KIND_ABILITY"/>
    </Types>
    <TypeTags>
        <Row Type="UNIT_AZTEC_EAGLE_WARRIOR" Tag="CLASS_MELEE"/>
        <Row Type="UNIT_AZTEC_EAGLE_WARRIOR" Tag="CLASS_CAPTURE_WORKER"/>
        <Row Type="ABILITY_CAPTIVE_WORKERS" Tag="CLASS_CAPTURE_WORKER"/>
    </TypeTags>
    <Civilizations>
        <Row CivilizationType="CIVILIZATION_AZTEC" Name="LOC_CIVILIZATION_AZTEC_NAME" Description="LOC_CIVILIZATION_AZTEC_DESCRIPTION" Adjective="LOC_CIVILIZATION_AZTEC_ADJECTIVE" StartingCivilizationLevelType="CIVILIZATION_LEVEL_FULL_CIV" RandomCityNameDepth="10"/>
    </Civilizations>
    <CivilizationTraits>
        <Row CivilizationType="CIVILIZATION_AZTEC" TraitType="TRAIT_CIVILIZATION_UNIT_AZTEC_EAGLE_WARRIOR"/>
    </CivilizationTraits>
    <Traits>
        <Row TraitType="TRAIT_CIVILIZATION_UNIT_AZTEC_EAGLE_WARRIOR" Name="LOC_TRAIT_CIVILIZATION_UNIT_AZTEC_EAGLE_WARRIOR_NAME"/>
    </Traits>
    <Units>
        <Row UnitType="UNIT_AZTEC_EAGLE_WARRIOR" BaseMoves="2" Cost="65" BaseSightRange="2" ZoneOfControl="true" Domain="DOMAIN_LAND" FormationClass="FORMATION_CLASS_LAND_COMBAT" Name="LOC_UNIT_AZTEC_EAGLE_WARRIOR_NAME" Description="LOC_UNIT_AZTEC_EAGLE_WARRIOR_DESCRIPTION" PurchaseYield="YIELD_GOLD" PromotionClass="PROMOTION_CLASS_MELEE" Combat="28" TraitType="TRAIT_CIVILIZATION_UNIT_AZTEC_EAGLE_WARRIOR" MandatoryObsoleteTech="TECH_GUNPOWDER"/>
    </Units>
    <UnitAbilities>
        <Row UnitAbilityType="ABILITY_CAPTIVE_WORKERS" Name="LOC_ABILITY_CAPTIVE_WORKERS_NAME" Description="LOC_ABILITY_CAPTIVE_WORKERS_DESCRIPTION"/>
    </UnitAbilities>
    <UnitAbilityModifiers>
        <Row>
            <UnitAbilityType>ABILITY_CAPTIVE_WORKERS</UnitAbilityType>
            <ModifierId>CAPTURE_COMBAT_UNITS_AS_WORKERS</ModifierId>
        </Row>
    </UnitAbilityModifiers>
    <Modifiers>
        <Row>
            <ModifierId>CAPTURE_COMBAT_UNITS_AS_WORKERS</ModifierId>
            <ModifierType>MODIFIER_UNIT_ADJUST_COMBAT_CAPTURE</ModifierType>
        </Row>
    </Modifiers>
    <ModifierArguments>
        <Row>
            <ModifierId>CAPTURE_COMBAT_UNITS_AS_WORKERS</ModifierId>
            <Name>CanCapture</Name>
            <Value>true</Value>
        </Row>
        <Row>
            <ModifierId>CAPTURE_COMBAT_UNITS_AS_WORKERS</ModifierId>
            <Name>UnitType</Name>
            <Value>UNIT_BUILDER</Value>
        </Row>
    </ModifierArguments>
    <ModifierStrings>
        <Row ModifierId="CAPTURE_COMBAT_UNITS_AS_WORKERS" Context="Preview" Text="LOC_ABILITY_CAPTIVE_WORKERS_MODIFIER_DESCRIPTION"/>
    </ModifierStrings>
</GameData>

I don't see what I'm missing, it all looks to be coded exactly the same way with the exception that I am trying to apply it to all of my leader's land melee units.
 
Yeah I have to set it to inactive so all the other Civ units do not get it

I have some other abilities coded the same way with inactive and they work for those civs
 
But with that said, I have tried it with and without inactive set to true, and I have tried it with and with the trait modifier.

Just trying to rule things out....and using the another unique unit I have in the mod as a guinea pig. This takes the trait completely out of the equation and mimics the Eagle Warrior exactly....

If I give the Senche-raht and the My Ability the class of "CLASS_AYLEID_SLAVE", the ability still doesn't work

However, if I give the Senche-raht the class "CLASS_CAPTURE_WORKER" (the one tied to the Eagle Warrior's ability) and just leave my ability out of the equation entirely, then it DOES work

So based on that, there would have to be something wrong with the coding of the Ability in my coding......but it is letter-for-letter the same as ABILITY_CAPTIVE_WORKERS (aside from the name IDs)
 
Maybe trying other approach, add it to a specific unit trait.

Just as you typed that I updated my last post with that same suggestion.... I may just have to give it to one specific unit, and give it the eagle warrior class.....and find something else for my civ/leader abilities. Because it kinda seems that the somehting may be hardcoded


Because there is no way to tack on an extra class type to global units for one specific civ only...not that i know of anywya
 
Just as you typed that I updated my last post with that same suggestion.... I may just have to give it to one specific unit, and give it the eagle warrior class.....and find something else for my civ/leader abilities. Because it kinda seems that the somehting may be hardcoded

I also edited mine :p Yes I noticed too, when you have a trait to a specific unit and try to add it as global ability (or otherwise), not easy to put to work, or to work at all... maybe trying to see an example where same feature is applied to unit and global in different civs.
 
I've figured it out! I had to abandon the civ ability granting a unit ability approach, and go with requirements directly on the the Civ Ability

Working Code below:

Spoiler :
Code:
    <Types>
        <Row Type="TRAIT_CIVILIZATION_KC20_TES_AYLEID_SLAVE_MASTERS" Kind="KIND_TRAIT"/>
    </Types>
    <CivilizationTraits>
        <Row CivilizationType="CIVILIZATION_KC20_TES_AYLEID" TraitType="TRAIT_CIVILIZATION_KC20_TES_AYLEID_SLAVE_MASTERS"/>
    </CivilizationTraits>
    <Traits>
        <Row TraitType="TRAIT_CIVILIZATION_KC20_TES_AYLEID_SLAVE_MASTERS" Name="LOC_TRAIT_CIVILIZATION_KC20_TES_AYLEID_SLAVE_MASTERS_NAME" Description="LOC_TRAIT_CIVILIZATION_KC20_TES_AYLEID_SLAVE_MASTERS_DESCRIPTION"/>
    </Traits>
    <TraitModifiers>
        <Row>
            <TraitType>TRAIT_CIVILIZATION_KC20_TES_AYLEID_SLAVE_MASTERS</TraitType>
            <ModifierId>TRAIT_KC20_TES_AYLEID_SLAVE_MASTERS</ModifierId>
        </Row>
    </TraitModifiers>
    <Modifiers>
        <Row>
            <ModifierId>TRAIT_KC20_TES_AYLEID_SLAVE_MASTERS</ModifierId>
            <ModifierType>MODIFIER_PLAYER_UNITS_ATTACH_MODIFIER</ModifierType>
            <SubjectRequirementSetId>REQUIREMENTS_AYLEID_UNIT_IS_LAND_MELEE</SubjectRequirementSetId>
        </Row>
        <Row>
            <ModifierId>TRAIT_KC20_TES_AYLEID_SLAVE_MASTERS_MODIFIER</ModifierId>
            <ModifierType>MODIFIER_UNIT_ADJUST_COMBAT_UNIT_CAPTURE</ModifierType>
            <SubjectRequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</SubjectRequirementSetId>
        </Row>
    </Modifiers>
    <ModifierArguments>
        <Row>
            <ModifierId>TRAIT_KC20_TES_AYLEID_SLAVE_MASTERS</ModifierId>
            <Name>ModifierId</Name>
            <Value>TRAIT_KC20_TES_AYLEID_SLAVE_MASTERS_MODIFIER</Value>
        </Row>
        <Row>
            <ModifierId>TRAIT_KC20_TES_AYLEID_SLAVE_MASTERS_MODIFIER</ModifierId>
            <Name>CanCapture</Name>
            <Value>true</Value>
        </Row>
        <Row>
            <ModifierId>TRAIT_KC20_TES_AYLEID_SLAVE_MASTERS_MODIFIER</ModifierId>
            <Name>UnitType</Name>
            <Value>UNIT_BUILDER</Value>
        </Row>
    </ModifierArguments>
    <RequirementSets>
        <Row>
            <RequirementSetId>REQUIREMENTS_AYLEID_UNIT_IS_LAND_MELEE</RequirementSetId>
            <RequirementSetType>REQUIREMENTSET_TEST_ANY</RequirementSetType>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementSetType>REQUIREMENTSET_TEST_ANY</RequirementSetType>
        </Row>
    </RequirementSets>
    <RequirementSetRequirements>
        <Row>
            <RequirementSetId>REQUIREMENTS_AYLEID_UNIT_IS_LAND_MELEE</RequirementSetId>
            <RequirementId>AYLEID_UNIT_IS_LIGHT_CAVALRY_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>REQUIREMENTS_AYLEID_UNIT_IS_LAND_MELEE</RequirementSetId>
            <RequirementId>AYLEID_UNIT_IS_HEAVY_CAVALRY_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>REQUIREMENTS_AYLEID_UNIT_IS_LAND_MELEE</RequirementSetId>
            <RequirementId>AYLEID_UNIT_IS_HEAVY_CHARIOT_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>REQUIREMENTS_AYLEID_UNIT_IS_LAND_MELEE</RequirementSetId>
            <RequirementId>AYLEID_UNIT_IS_RECON_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>REQUIREMENTS_AYLEID_UNIT_IS_LAND_MELEE</RequirementSetId>
            <RequirementId>AYLEID_UNIT_IS_MELEE_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>REQUIREMENTS_AYLEID_UNIT_IS_LAND_MELEE</RequirementSetId>
            <RequirementId>AYLEID_UNIT_IS_ANTI_CAVALRY_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_LIGHT_CAVALRY_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_HEAVY_CAVALRY_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_RANGED_CAVALRY_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_HEAVY_CHARIOT_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_RECON_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_RANGED_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_MELEE_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_ANTI_CAVALRY_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_FORWARD_OBSERVER_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_HELICOPTER_REQUIREMENT</RequirementId>
        </Row>
        <Row>
            <RequirementSetId>AYLEID_OPPONENT_IS_COMBAT_UNIT_REQUIREMENTS</RequirementSetId>
            <RequirementId>AYLEID_OPPONENT_IS_WARRIOR_MONK_REQUIREMENT</RequirementId>
        </Row>
    </RequirementSetRequirements>
    <Requirements>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_LIGHT_CAVALRY_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_HEAVY_CAVALRY_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_HEAVY_CHARIOT_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_RECON_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_MELEE_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_ANTI_CAVALRY_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_LIGHT_CAVALRY_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_HEAVY_CAVALRY_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_RANGED_CAVALRY_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_HEAVY_CHARIOT_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_RECON_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_RANGED_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_MELEE_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_ANTI_CAVALRY_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_FORWARD_OBSERVER_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_HELICOPTER_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_WARRIOR_MONK_REQUIREMENT</RequirementId>
            <RequirementType>REQUIREMENT_UNIT_TAG_MATCHES</RequirementType>
        </Row>
    </Requirements>
    <RequirementArguments>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_LIGHT_CAVALRY_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_LIGHT_CAVALRY</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_HEAVY_CAVALRY_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_HEAVY_CAVALRY</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_HEAVY_CHARIOT_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_HEAVY_CHARIOT</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_RECON_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_RECON</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_MELEE_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_MELEE</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_UNIT_IS_ANTI_CAVALRY_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_ANTI_CAVALRY</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_LIGHT_CAVALRY_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_LIGHT_CAVALRY</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_HEAVY_CAVALRY_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_HEAVY_CAVALRY</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_RANGED_CAVALRY_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_RANGED_CAVALRY</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_HEAVY_CHARIOT_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_HEAVY_CHARIOT</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_RECON_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_RECON</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_RANGED_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_RANGED</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_MELEE_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_MELEE</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_ANTI_CAVALRY_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_ANTI_CAVALRY</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_FORWARD_OBSERVER_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_FORWARD_OBSERVER</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_HELICOPTER_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_HELICOPTER</Value>
        </Row>
        <Row>
            <RequirementId>AYLEID_OPPONENT_IS_WARRIOR_MONK_REQUIREMENT</RequirementId>
            <Name>Tag</Name>
            <Value>CLASS_WARRIOR_MONK</Value>
        </Row>
    </RequirementArguments>
 
Back
Top Bottom