Skip to content

ProjectileSmartMode

Bases: _DataSetIntFlags

This enum class provides the integer values used to reference the smart projectile flag values used in the game. Used in the 'Modify Attribute' effect with the 'Projectile Smart Mode' attribute. This is a combainable bit field

Examples

Source code in AoE2ScenarioParser/datasets/trigger_lists/projectile_smart_mode.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
class ProjectileSmartMode(_DataSetIntFlags):
    """
    This enum class provides the integer values used to reference the smart projectile flag values used in the game.
    Used in the 'Modify Attribute' effect with the 'Projectile Smart Mode' attribute. This is a combainable bit field

    **Examples**



    """
    TARGET_CURRENT_LOCATION = 0
    TARGET_FUTURE_LOCATION = 1
    FULL_DAMAGE_ON_MISSED_HIT = 2

Attributes

TARGET_CURRENT_LOCATION = 0 class-attribute instance-attribute

Value: 0

TARGET_FUTURE_LOCATION = 1 class-attribute instance-attribute

Value: 1

FULL_DAMAGE_ON_MISSED_HIT = 2 class-attribute instance-attribute

Value: 2