Skip to content
Type a keyword to search.
This page was translated with machine assistance. The Simplified Chinese version is the authoritative reference.

Battle Skill Commands

Battle skill commands are used in battle skill scripts. They usually deal damage, add Buffs, create effect objects, modify battle unit state, or control skill execution flow.

This page also lists skill script formats, target selectors, and position selectors. When writing a skill, first look up the specific skill command, then choose the target or position syntax based on the parameter descriptions.

Battle Skill Commands ...

Skill Script Format

Skill Command Editing

Skill commands are the basic elements used to implement skill effects in battle. When a unit casts a skill, every skill command in that skill is added to the battle skill command queue and executed in order according to its runtime context.

In the skill table, command entries are separated by "\n". Each entry consists of delay*[condition expression (optional)]#command content. Example:

0*condition expression 1#skill command 1
0.2#skill command 2
...

When the condition expression is not empty, the command runs only if the condition evaluates to true.

Condition blocks can use built-in commands for special behavior such as repetition:

*REPEAT_START:9
line 1
line 2
[@0.01*[%rpt_index%]@]#skill command
...
line N
*REPEAT_END

Repeats all lines between REPEAT_START and REPEAT_END 9 times. During the loop, [%rpt_index%] returns the current loop index.

*SELECT_UNITS:[target selector condition expression]
line 1
line 2
...
line N
*SELECT_END

Runs all commands between SELECT_UNITS and SELECT_END for every unit matching the selector after SELECT_UNITS:, using that unit as the caster object.

Loading battle skill commands...