Search
EFFECT_GRANT_UNIT_BY_CLASS
Last updated
Aug 8, 2022
Edit Source
This is an
Effect Type. Please refer to that page for more information on Effect Type
# Info
EFFECT_GRANT_UNIT_BY_CLASS
- Class:
CITIES
- Parameters:
- UnitPromotionClassType
String
- [UnitPromotionClasses.PromotionClassType]
# Samples
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
| INSERT INTO Modifiers
(
ModifierId,
ModifierType,
RunOnce,
Permanent
)
VALUES
(
"GOODY_MILITARY_GRANT_SCOUT",
"MODIFIER_SINGLE_CITY_GRANT_UNIT_BY_CLASS_IN_NEAREST_CITY",
1,
1
);
INSERT INTO ModifierArguments
(
ModifierId,
Name,
Value
)
VALUES
(
"GOODY_MILITARY_GRANT_SCOUT",
"UnitPromotionClassType",
"PROMOTION_CLASS_RECON"
);
|