Home › Effects › UNITS › EFFECT_ADJUST_UNIT_COMBAT_UNIT_CAPTURE uses
Available out of the box. Usable from Lua in the unmodified game.
EFFECT_ADJUST_UNIT_COMBAT_UNIT_CAPTURE: where the game uses it
1 modifier in the game's own data uses this effect. Modifier ids, argument values, owners and requirement sets come from the installed game's data files (the base game and every DLC; mods are not included). Text keys are shown as keys: load your own game text to read the in-game wording here.
Arguments: CanCapture (Boolean), UnitType (String).
| Used by |
Modifier |
Arguments |
Applies to |
Conditions |
In-game text |
From |
Trait TRAIT_LEADER_GENGHIS_KHAN_ABILITY (attached through another modifier)
LOC_TRAIT_LEADER_GENGHIS_KHAN_ABILITY_NAME |
TRAIT_CAVALRY_CAPTURE_CAVALRY_MODIFIER
MODIFIER_UNIT_ADJUST_COMBAT_UNIT_CAPTURE |
CanCapture = true |
UNIT_COMBAT |
applies to: 4 requirementsPLAYER_IS_ATTACKING
REQUIREMENTSET_IS_MET (RequirementSetId=OPPONENT_IS_CAVALRY_UNIT_REQUIREMENTS)
PLAYER_IS_ATTACKING
REQUIREMENTSET_IS_MET (RequirementSetId=OPPONENT_IS_CAVALRY_UNIT_REQUIREMENTS) |
LOC_TRAIT_LEADER_GENGHIS_KHAN_ABILITY_DESCRIPTION |
Expansion2 |