Data Effect Enumerate Unit List - BLKTower/TestWiki GitHub Wiki

Table of Contents

Data\Effect\Enumerate Unit List {DataDataEffectData-EffectEnumerate-Unit-List}

Uses a search effect to generate a list of units and runs effects on units in the list.

Location Mode {Location-Mode}

SelectableType: EffectEnumerateUnitList.Location Mode

Target Type {Target-Type}

Used to determine the ability target type if this effect is the first effect of an ability.

Iteration Mode {Iteration-Mode}

Determines how to iterate through the unit list.

Step Count validator Impact Effect

  • REPEAT:For each Step Count, check the validator and run the Impact Effect on the top unit of the list. If the validator fails, remove the top unit from the list and move on to the next unit in the list.
  • FALL_THROUGH:For each Step Count, check the validator and run the Impact Effect on the next unit in the list. The unit list is iterated through in sequence.

Repeat List {Repeat-List}

When checked, the list will be iterated through on repeat until the step count is exhausted or no valid targets remain.

Step Count {Step-Count}

The number of times to run the impact effect.

Step Count Expressions {Step-Count-Expressions}

The evaluated expressions are added to Step Count.

Validator {Validator}

The validator checked before running the Impact Effect. If the validator fails, the effect is not executed and the step is not counted.

Search Effect {Search-Effect}

The Area Search effect used to generate the unit list. Typically this search should not have Effect or Missing Effect as it should only be used to generate a list of potential targets for the Enumerate Unit List effect.

Missing Effect {Missing-Effect}

This effect is created if the number of units found by the Search Effect is less than the Step Count. This effect is created for each missing target.

Impact Effect {Impact-Effect}

The effect run on the unit list each step that the validator passes.

Update Source To Previous Target {Update-Source-To-Previous-Target}

If this is set, for the current iteration, the target of previous iteration will be used as the source for this iteration. E.g. Chain lighting

Used in combination with Use Target Location to update the search location (useful for creating chain lighting effects).

⚠️ **GitHub.com Fallback** ⚠️