Ability types
The ability type is written at the top level of the ability definition, alongside common fields such as costs and condition; do not nest another type object. For the common fields of an ability file, see Ability definitions.
| Type | Purpose |
|---|---|
saturn:active | Used by the player on purpose; runs its actions after the cast, cost and cooldown flow. |
saturn:triggered | Subscribes to the given game signal and runs the ability's actions when the condition holds. |
saturn:modifier | Provides attribute modifiers to the entity while the ability is active. |
saturn:aura | Looks up targets within range at an interval and runs its actions. |
saturn:interval | Runs its action at the given tick interval while the ability is active. |
saturn:channelled | Keeps the ability in use, paying the upkeep cost every beat and running its actions. |
saturn:targeted | Selects a target and then casts the referenced ability on it. |
saturn:empty | Provides an implementation that performs no extra behaviour. |
saturn:upkeep | Checks the host item's upkeep cost at an interval and runs an item action when payment fails. |