Bases: _DataSetIntEnums
This enum provides the integer values used to reference the type of charge that a unit holds
Examples
Source code in AoE2ScenarioParser/datasets/trigger_lists/charge_type.py
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 | class ChargeType(_DataSetIntEnums):
"""
This enum provides the integer values used to reference the type of charge that a unit holds
**Examples**
"""
SPAWN_BUILDING_ON_TOP_ABILITY = -5
CONVERSION_ABILITY = -4
AURA_ABILITY = -3
TRANSFORM_ABILITY = -2
TEMPORARY_TRANSFORM_ABILITY = -1
ATTACK_CHARGE = 1
UNKNOWN_CHARGE = 2
AREA_ATTACK_CHARGE = 3
AGILITY_CHARGE = 4
IGNORE_MELEE_ATTACK = 5
FIRE_ONLY_CHARGE_PROJECTILES = 6
FIRE_ONE_CHARGE_AND_ADDITIONAL_SECONDARY_PROJECTILES = 7
|
Attributes
SPAWN_BUILDING_ON_TOP_ABILITY = -5
class-attribute
instance-attribute
Value:
-5
CONVERSION_ABILITY = -4
class-attribute
instance-attribute
Value:
-4
AURA_ABILITY = -3
class-attribute
instance-attribute
Value:
-3
ATTACK_CHARGE = 1
class-attribute
instance-attribute
Value:
1
UNKNOWN_CHARGE = 2
class-attribute
instance-attribute
Value:
2
AREA_ATTACK_CHARGE = 3
class-attribute
instance-attribute
Value:
3
AGILITY_CHARGE = 4
class-attribute
instance-attribute
Value:
4
IGNORE_MELEE_ATTACK = 5
class-attribute
instance-attribute
Value:
5
FIRE_ONLY_CHARGE_PROJECTILES = 6
class-attribute
instance-attribute
Value:
6
FIRE_ONE_CHARGE_AND_ADDITIONAL_SECONDARY_PROJECTILES = 7
class-attribute
instance-attribute
Value:
7