Bases: _DataSetIntEnums
This enum class provides the integer values used to references the different projectile hit mode settings that can
be used in the 'Modify Attribute' effect with the 'Projectile Hit Mode' attribute.
Examples
Source code in AoE2ScenarioParser/datasets/trigger_lists/projectile_hit_mode.py
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27 | class ProjectileHitMode(_DataSetIntEnums):
"""
This enum class provides the integer values used to references the different projectile hit mode settings that can
be used in the 'Modify Attribute' effect with the 'Projectile Hit Mode' attribute.
**Examples**
"""
TARGET_ONLY = 0
"""
Collide only with the targeted unit"
"""
ANY_PLAYER_UNIT = 1
"""
Collide with any damage-able units in the path to the targeted unit"
"""
ANY_OBSTACLE = 2
"""
Collide with any unit in the path to the targeted unit
"""
|
Attributes
TARGET_ONLY = 0
class-attribute
instance-attribute
Value:
0
Collide only with the targeted unit"
ANY_PLAYER_UNIT = 1
class-attribute
instance-attribute
Value:
1
Collide with any damage-able units in the path to the targeted unit"
ANY_OBSTACLE = 2
class-attribute
instance-attribute
Value:
2
Collide with any unit in the path to the targeted unit