Home › Effects › UNITS › EFFECT_ADJUST_UNIT_CANNOT_ATTACK uses

Available out of the box. Usable from Lua in the unmodified game.

EFFECT_ADJUST_UNIT_CANNOT_ATTACK: 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: Disable (Boolean).

Used by Modifier Arguments Applies to Conditions In-game text From
UnitAbility ABILITY_RELIGIOUS_CANNOT_ATTACK
LOC_ABILITY_RELIGIOUS_CANNOT_ATTACK_NAME
CANNOT_ATTACK
MODIFIER_PLAYER_UNIT_ADJUST_CANNOT_ATTACK
Disable = true OWNER — LOC_ABILITY_RELIGIOUS_CANNOT_ATTACK_DESCRIPTION
LOC_ABILITY_CANNOT_ATTACK_MODIFIER_DESCRIPTION
Base