Skip to content

BlastLevel

Bases: _DataSetIntEnums

This enum class provides the integer values used to reference the blast level values used in the game. Used in the 'Modify Attribute' effect with the 'Blast Attack/Defense Level' attributes

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/blast_level.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
class BlastLevel(_DataSetIntEnums):
    """
    This enum class provides the integer values used to reference the blast level values used in the game. Used in the
    'Modify Attribute' effect with the 'Blast Attack/Defense Level' attributes

    **Examples**



    """
    RESOURCES = 0
    """
    damage resources, nearby allied units and tress
    """
    TREES = 1
    """
    damage trees, nearby allied units
    """
    NEARBY_UNITS = 2
    """
    damage nearby allied units
    """
    TARGET_ONLY = 3
    """
    damage targeted unit only
    """
    FIXED_FIVE = 4
    """
    Deal a fixed 5 HP of damage to nearby units
    """
    DISTANCE_ATTENUATION = 64
    """
    Attenuate damage as distance from the centre of attack increases (infantry only)
    """
    DIRECTIONAL = 128
    """
    Blast damage is dealt along the direction the unit is facing only. This area is a very narrow cone    
    """

Attributes

RESOURCES = 0 class-attribute instance-attribute

Value: 0

damage resources, nearby allied units and tress

TREES = 1 class-attribute instance-attribute

Value: 1

damage trees, nearby allied units

NEARBY_UNITS = 2 class-attribute instance-attribute

Value: 2

damage nearby allied units

TARGET_ONLY = 3 class-attribute instance-attribute

Value: 3

damage targeted unit only

FIXED_FIVE = 4 class-attribute instance-attribute

Value: 4

Deal a fixed 5 HP of damage to nearby units

DISTANCE_ATTENUATION = 64 class-attribute instance-attribute

Value: 64

Attenuate damage as distance from the centre of attack increases (infantry only)

DIRECTIONAL = 128 class-attribute instance-attribute

Value: 128

Blast damage is dealt along the direction the unit is facing only. This area is a very narrow cone