Data\Effect\Apply Behavior


Applies a Behavior to a unit.

Behavior

The behavior to apply.

Target

Which unit to apply the behavior to. Using NONE defaults to TARGET_UNIT. NONE is TARGET_UNIT

Stack Count

The number of behavior stacks to apply. If set to 0, 1 stack count will be added.

Stack Count Expressions


The evaluated expressions will be added to the effect's Stack Count.

Duration

If set, this will be used instead of the behavior's duration.

Extend Duration

If checked, the duration will be added to the existing behavior on the target.

Expressions


The evaluated expressions will be added to the effect's Duration.

Retain Caster

If checked, the effects created by the applied behavior will use the caster of this effect as the caster reference. By default, behaviors will use their target unit as the caster reference. This is useful for making colliding projectiles that deal damage using a damage expression that references behaviors or tags on the caster.