Data Effect - BLKTower/TestWiki GitHub Wiki

Table of Contents

Data\Effect {DataDataEffect}

Effects are the building blocks of abilities and weapons and can be used to launch missiles, perform searches, deal damage, and the like. Effects can be chained together to create complex ability sequences. For example to create a fireball abilities that explodes and deals damage in an area, you can create an effect tree such as Launch Missile > Area Search > Damage. The effects can be configured so that the Launch Missile effect creates an Area Search on impact, which runs a Damage effect on enemy units within a small radius.

Effect Locations

Some effects have a Location field which determines where the effect is created. For effects that can only occur on a unit (such as Damage or Apply Behavior) this field may be called Which Unit or Target. Regardless of whether the target type is a unit or location, where the effect is created follows the same general semantics.

Unit

If the target type is unit and the specified unit isn't found, then the effect won't be executed.

  • Target Unit: the target unit of the previous effect, weapon, ability, or behavior.
  • Source Unit: the last unit involved in the effect tree (a previous target, spawned unit, or missile).
  • Caster Unit: the first unit involved in the effect tree (typically the unit that used the weapon or ability).

Location

If the target type is location but the target happens to be a unit, then the location of the unit will be used instead.

  • Target Location: the target location of the previous effect, weapon, ability, or behavior.
  • Source Location: the location of the previous effect in the effect tree.
  • Caster Location: the location of first unit involved in the effect tree.

Unit or Location

If the target type is unit or location, it will look for a unit first before falling back to a location.

  • Target Unit or Location: the target unit/location of the previous effect, weapon, ability, or behavior.
  • Source Unit or Location: the last unit/effect location in the effect tree.
  • Caster Unit or Location: the first unit/location involved in the effect tree.

Effect Type {Effect-Type}

Wild Sky Effect Type {Wild-Sky-Effect-Type}

Template {Template}

FieldType: Template

Parent {Parent}

FieldType: Parent

Debug Log Context {Debug-Log-Context}

When checked, prints the effect's caster/source/target info to the log.

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