Data Effect Switch Effect - funovus/editor-wiki GitHub Wiki

Table of Contents
- [Data\Effect\Switch Effect](#dataeffectswitch-effect) * [Target Type](#target-type) * [Cases](#cases)

Data\Effect\Switch Effect {dataEffectSwitch-Effect}

Run different effects based on validators/conditions.

Target Type {Target-Type}

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

Cases {Cases}

For each case (from top to bottom), check the Validator and execute the effect if the Validator succeeds. By default the switch ends when the first Validator passes.

Effect {Effect}

The effect to run if the validator passes.

Validator {Validator}

The validator to check.

Fall Through {Fall-Through}

If checked, the next case will be evaluated even if this case passes.

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