Flags

General

Flags can be accessed by both their name and index.

For example, if you want to check if the target has the status effect KO, you can do it via the status effect identifier like this:

formula.target.statusEffects[0] == 1

or via the status effect name like this:

formula.target.statusEffects.ko == 1

or this:

formula.target.statusEffects["ko"] == 1

Notes

For a list of all flag identifiers and names, you can check out the classes/{name}.lua and helpers/{name}.lua files.

Last updated