-
Notifications
You must be signed in to change notification settings - Fork 0
Data Effect Enumerate Unit List
Uses a search effect to generate a list of units and runs effects on units in the list.
SelectableType: EffectEnumerateUnitList.Location Mode
Used to determine the ability target type if this effect is the first effect of an ability.
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.
When checked, the list will be iterated through on repeat until the step count is exhausted or no valid targets remain.
The number of times to run the impact effect.
The evaluated expressions are added to Step Count.
The validator checked before running the Impact Effect. If the validator fails, the effect is not executed and the step is not counted.
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.
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.
The effect run on the unit list each step that the validator passes.
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).