Skip to content

CombatAbility

Bases: _DataSetIntFlags

This enum class provides the integer values for the break off combat flags that can be used in the 'Modify Attribute' effect with the 'Combat Ability' attribute. This is a combinable bit field.

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/combat_ability.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
class CombatAbility(_DataSetIntFlags):
    """
    This enum class provides the integer values for the break off combat flags that can be used
    in the 'Modify Attribute' effect with the 'Combat Ability' attribute. This is a combinable bit field.

    **Examples**



    """
    NORMAL = 0
    IGNORE_MELEE_PIERCE_ARMOR = 1
    RESIST_ARMOR_IGNORING_ATTACKS = 2
    DAMAGE_TARGET_ARMOR = 4
    ATTACK_GROUND = 8
    BULK_VOLLEY_RELEASE = 16

Attributes

NORMAL = 0 class-attribute instance-attribute

Value: 0

IGNORE_MELEE_PIERCE_ARMOR = 1 class-attribute instance-attribute

Value: 1

RESIST_ARMOR_IGNORING_ATTACKS = 2 class-attribute instance-attribute

Value: 2

DAMAGE_TARGET_ARMOR = 4 class-attribute instance-attribute

Value: 4

ATTACK_GROUND = 8 class-attribute instance-attribute

Value: 8

BULK_VOLLEY_RELEASE = 16 class-attribute instance-attribute

Value: 16