Home › Effects › CITIES › EFFECT_GRANT_UNIT_OF_CLASS_AND_APPLY_ABILITY uses
Available out of the box. Usable from Lua in the unmodified game.
EFFECT_GRANT_UNIT_OF_CLASS_AND_APPLY_ABILITY: where the game uses it
2 modifiers in the game's own data use 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: ModifierId (String), UnitPromotionClassType (String).
| Used by |
Modifier |
Arguments |
Applies to |
Conditions |
In-game text |
From |
GoodyHutSubTypes ? |
GOODY_METEOR_FREE_UNIT
MODIFIER_PLAYER_GRANT_ADVANCED_UNIT_OF_CLASS_IN_NEAREST_OWNER_CITY_AND_APPLY_ABILITY |
UnitPromotionClassType = PROMOTION_CLASS_HEAVY_CAVALRY
ModifierId = GOODY_METEOR_UNIT_REFUND_COST |
UNIT_NEAREST_OWNER_CITY |
— |
LOC_METEOR_GOODIES_GRANT_UNIT_DESCRIPTION |
GranColombia_Maya |
GreatPersonIndividualAction GREAT_PERSON_INDIVIDUAL_HANNO_THE_NAVIGATOR
LOC_GREAT_PERSON_INDIVIDUAL_HANNO_THE_NAVIGATOR_NAME |
GREAT_PERSON_INDIVIDUAL_HANNO_THE_NAVIGATOR_FREE_UNIT
MODIFIER_PLAYER_GRANT_UNIT_OF_ABILITY_WITH_MODIFIER |
UnitPromotionClassType = PROMOTION_CLASS_NAVAL_MELEE
ModifierId = HANNO_FREE_UNIT_MOVEMENT_BUFF |
OWNER |
— |
LOC_GREAT_PERSON_INDIVIDUAL_HANNO_THE_NAVIGATOR_FREE_UNIT |
Babylon |