Skip to content

ChargeEvent

Bases: _DataSetIntEnums

This enum provides the integer values used to reference the action which depletes a unit's charge

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/charge_event.py
 6
 7
 8
 9
10
11
12
13
14
15
16
class ChargeEvent(_DataSetIntEnums):
    """
    This enum provides the integer values used to reference the action which depletes a unit's charge

    **Examples**



    """
    NO_CHARGE_DEPLETED = 0
    CHARGE_DEPLETED_ON_ATTACK = 1

Attributes

NO_CHARGE_DEPLETED = 0 class-attribute instance-attribute

Value: 0

CHARGE_DEPLETED_ON_ATTACK = 1 class-attribute instance-attribute

Value: 1