Enum AIAbilityIntent
What an ability actually does, derived from the ECA actions attached to its events.
[Flags]
public enum AIAbilityIntent
- Extension Methods
Fields
Applies a beneficial effect to a target.
Prevents a target from acting or moves it against its will.
Reduces a target's health, directly or over time.
Applies a detrimental effect to a target.
Removes existing effects from a target.
Restores a target's health, directly or over time.
Nothing recognisable was found in the ability's action graph.
Anything an NPC would point at an enemy.
Returns a dead target to life.
Brings another entity into the world.
Anything an NPC would point at a friend, including itself.
Manipulates an NPC's threat table.
Recognised, but none of the combat roles above — movement, interaction, and so on.
Remarks
A flags enum rather than a single value, because one ability routinely does several things — a nuke that also applies a burn is Damage and Debuff; a heal that cleanses is Heal and Dispel. Collapsing that to one category would force an arbitrary choice about which half of the ability the AI is allowed to notice.
Distinct from AbilityCategory, which describes delivery — melee versus ranged versus area. The two are orthogonal: a ranged AOE can be a heal or a nuke, and an NPC needs both answers. Delivery decides where it stands; intent decides who it points at.