PoundedChicken
Chieftain
- Joined
- Nov 4, 2016
- Messages
- 41
Any help appreciated. I've spent wayyy too long on this.
I'm creating a new Belief that uses the same Modifier as the Great Lighthouse Wonder: MODIFIER_PLAYER_ADJUST_EMBARKED_MOVEMENT
And trying to apply it to only Religious Units by using a RequirementSet that includes the Requirement: REQUIRES_UNIT_IS_RELIGIOUS_ALL
In testing, it ignores that Requirement and applies the +2 Movement Modifier to all Units incl. Scouts.
I'm creating a new Belief that uses the same Modifier as the Great Lighthouse Wonder: MODIFIER_PLAYER_ADJUST_EMBARKED_MOVEMENT
And trying to apply it to only Religious Units by using a RequirementSet that includes the Requirement: REQUIRES_UNIT_IS_RELIGIOUS_ALL
In testing, it ignores that Requirement and applies the +2 Movement Modifier to all Units incl. Scouts.
Code:
<Types>
<Row Type="BELIEF_SEAFARERS_MISSION" Kind="KIND_BELIEF"/>
</Types>
<Beliefs>
<Row BeliefType="BELIEF_SEAFARERS_MISSION" Name="BELIEF_SEAFARERS_MISSION_NAME" Description="BELIEF_SEAFARERS_MISSION_DESCRIPTION" BeliefClassType="BELIEF_CLASS_ENHANCER"/>
</Beliefs>
<BeliefModifiers>
<Row BeliefType="BELIEF_SEAFARERS_MISSION" ModifierID="BELIEF_SEAFARERS_MISSION_MOVEMENT"/>
</BeliefModifiers>
<Modifiers>
<Row ModifierId="BELIEF_SEAFARERS_MISSION_MOVEMENT" ModifierType="MODIFIER_ALL_UNITS_ATTACH_MODIFIER" SubjectRequirementSetId="SEAFARERS_MISSION_REQUIREMENTS" />
<Row ModifierId="BELIEF_SEAFARERS_MISSION_MOVEMENT_MODIFIER" ModifierType="MODIFIER_PLAYER_ADJUST_EMBARKED_MOVEMENT" />
</Modifiers>
<ModifierArguments>
<Row ModifierId="BELIEF_SEAFARERS_MISSION_MOVEMENT" Name="ModifierId" Value="BELIEF_SEAFARERS_MISSION_MOVEMENT_MODIFIER" />
<Row ModifierId="BELIEF_SEAFARERS_MISSION_MOVEMENT_MODIFIER" Name="Amount" Value="2" />
</ModifierArguments>
<RequirementSets>
<Row RequirementSetId="SEAFARERS_MISSION_REQUIREMENTS" RequirementSetType="REQUIREMENTSET_TEST_ALL" />
</RequirementSets>
<RequirementSetRequirements>
<Row RequirementSetId="SEAFARERS_MISSION_REQUIREMENTS" RequirementId="REQUIRES_PLAYER_FOUNDED_RELIGION" />
<Row RequirementSetId="SEAFARERS_MISSION_REQUIREMENTS" RequirementId="REQUIRES_UNIT_IS_RELIGIOUS_ALL" />
</RequirementSetRequirements>