> For the complete documentation index, see [llms.txt](https://xeavin.gitbook.io/the-insurgents-toolkit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xeavin.gitbook.io/the-insurgents-toolkit/features/battlepack-editor/14-actions.md).

# 14 : Actions

### Description

Includes information about actions used by all characters (party members, foes, ...).

### Examples

* Allow a foe action to be cast by the player without it requiring a license.
* Allow the action Steal to also work for characters near the initial target.
* Create an action that ignores physical and magickal immunity.
* Create an action that knockbacks the target so far that is possibility creates a loop in which the target tries to reach the caster but can never do so before it is hit by the action again.
* and much more.

### Notes

{% hint style="danger" %}
Some actions are hard-coded to their identifier. This includes:

* Quickenings (208 -> 225)
* Concurrences (226 -> 241)
* Summons (262 -> 274)
* Shades of Black
* Steal
* Revive
* Dismiss
* Spawn
* and possibly even more.

So even if all the data from one action (e.g. Steal) is copied to another, they won't work the same way.&#x20;

Swapping a magick with another one should be fine, doing the same with a technick and an item might not be though.

Therefore swapping an action with another one should be avoided at all cost.
{% endhint %}

{% hint style="danger" %}
Changing any reserve actions with an identifier from 147 to 484 should be avoided as some of them are referenced throughout some unknown functions. Instead, use the ones from 111 to 123 or the the ones after 497.
{% endhint %}

{% hint style="danger" %}
Since all party members and foes share the same actions, changing an action (e.g. Esuna) to no longer removing a status effect for example can result in a foe being stuck in an endless loop if said action is part of its AI entry whose condition still applies (e.g. If caster has the status effect Slow, cast Esuna).
{% endhint %}

{% hint style="danger" %}
If the following conditions are not followed, the sort order of actions in a battle menu (e.g. technicks) will not be based on the sort order set in the inventory menu, but on the required content id (ascending) instead:

* The required content of an action must be unique to that action. So it must not be used as the required content by another action.
* The required content of an action must have the same type as its battle menu category. So an action shown in the technicks menu must have a technick as a required content.
  {% endhint %}

{% hint style="warning" %}
Changes to the gambit page and its order require a game restart.
{% endhint %}

{% hint style="info" %}
For a list of formula identifiers, you can view the formula spreadsheet in [Resources](/the-insurgents-toolkit/getting-started/resources.md).
{% endhint %}
