Skip to content

ChargeType

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
class ChargeType(_DataSetIntEnums):
    """
    This enum provides the integer values used to reference the type of charge that a unit holds

    **Examples**



    """
    ATTACK_CHARGE = 1
    UNKNOWN_CHARGE = 2
    AREA_ATTACK_CHARGE = 3
    AGILITY_CHARGE = 4

Attributes

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