AbilityBehavior Enum
The AbilityBehavior object defines a set of flags representing the behaviors and properties of abilities in Dota 2. These flags are stored as bigint values and can be combined using bitwise operations.
Enum Values
| Name | Value | Description |
|---|---|---|
DOTA_ABILITY_BEHAVIOR_NONE | 0n | No behavior assigned. |
DOTA_ABILITY_BEHAVIOR_HIDDEN | 1n | The ability is hidden from the UI. |
DOTA_ABILITY_BEHAVIOR_PASSIVE | 2n | The ability is passive and does not require activation. |
DOTA_ABILITY_BEHAVIOR_NO_TARGET | 4n | The ability does not require a target. |
DOTA_ABILITY_BEHAVIOR_UNIT_TARGET | 8n | The ability targets a unit. |
DOTA_ABILITY_BEHAVIOR_POINT | 16n | The ability targets a point on the ground. |
DOTA_ABILITY_BEHAVIOR_AOE | 32n | The ability affects an area of effect. |
DOTA_ABILITY_BEHAVIOR_NOT_LEARNABLE | 64n | The ability cannot be learned. |
DOTA_ABILITY_BEHAVIOR_CHANNELLED | 128n | The ability requires channeling to be effective. |
DOTA_ABILITY_BEHAVIOR_ITEM | 256n | The ability is an item. |
DOTA_ABILITY_BEHAVIOR_TOGGLE | 512n | The ability can be toggled on or off. |
DOTA_ABILITY_BEHAVIOR_DIRECTIONAL | 1024n | The ability has a directional component. |
DOTA_ABILITY_BEHAVIOR_IMMEDIATE | 2048n | The ability is cast immediately without queueing. |
DOTA_ABILITY_BEHAVIOR_AUTOCAST | 4096n | The ability can be toggled to autocast. |
DOTA_ABILITY_BEHAVIOR_OPTIONAL_UNIT_TARGET | 8192n | The ability optionally targets a unit. |
DOTA_ABILITY_BEHAVIOR_OPTIONAL_POINT | 16384n | The ability optionally targets a point. |
DOTA_ABILITY_BEHAVIOR_OPTIONAL_NO_TARGET | 32768n | The ability optionally requires no target. |
DOTA_ABILITY_BEHAVIOR_AURA | 65536n | The ability provides an aura effect. |
DOTA_ABILITY_BEHAVIOR_ATTACK | 131072n | The ability is tied to attacks. |
DOTA_ABILITY_BEHAVIOR_DONT_RESUME_MOVEMENT | 262144n | The ability does not resume movement after casting. |
DOTA_ABILITY_BEHAVIOR_ROOT_DISABLES | 524288n | The ability disables root effects. |
DOTA_ABILITY_BEHAVIOR_UNRESTRICTED | 1048576n | The ability can be cast without restrictions. |
DOTA_ABILITY_BEHAVIOR_IGNORE_PSEUDO_QUEUE | 2097152n | The ability ignores pseudo-queueing. |
DOTA_ABILITY_BEHAVIOR_IGNORE_CHANNEL | 4194304n | The ability can be used while channeling another ability. |
DOTA_ABILITY_BEHAVIOR_DONT_CANCEL_MOVEMENT | 8388608n | The ability does not cancel movement commands. |
DOTA_ABILITY_BEHAVIOR_DONT_ALERT_TARGET | 16777216n | The ability does not alert the target when cast. |
DOTA_ABILITY_BEHAVIOR_DONT_RESUME_ATTACK | 33554432n | The ability does not resume attacking after casting. |
DOTA_ABILITY_BEHAVIOR_NORMAL_WHEN_STOLEN | 67108864n | The ability behaves normally when stolen. |
DOTA_ABILITY_BEHAVIOR_IGNORE_BACKSWING | 134217728n | The ability ignores backswing animation. |
DOTA_ABILITY_BEHAVIOR_RUNE_TARGET | 268435456n | The ability can target runes. |
DOTA_ABILITY_BEHAVIOR_DONT_CANCEL_CHANNEL | 536870912n | The ability does not cancel channeling. |
DOTA_ABILITY_BEHAVIOR_VECTOR_TARGETING | 1073741824n | The ability uses vector targeting. |
DOTA_ABILITY_BEHAVIOR_LAST_RESORT_POINT | 2147483648n | The ability targets a fallback point when other targets are invalid. |
DOTA_ABILITY_BEHAVIOR_CAN_SELF_CAST | 4294967296n | The ability can be self-cast. |
DOTA_ABILITY_BEHAVIOR_SHOW_IN_GUIDES | 8589934592n | The ability is shown in guides. |
DOTA_ABILITY_BEHAVIOR_SKIP_FOR_KEYBINDS | 4398046511104n | The ability is skipped when assigning keybinds. |