Create state skill
create_state_skillCreate a skill that adds or removes states like poison on a target, each with a customizable success chance. Specify state IDs from your project's database.
Instructions
Create a skill that adds or removes states (poison, sleep, etc.) on the target, each with its own success chance. State ids come from the States database (list_records type=states).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| note | No | ||
| scope | No | Target scope: 1 one enemy, 2 all enemies, 3-6 random enemies (1-4), 7 one ally, 8 all allies, 9 one dead ally, 10 all dead allies, 11 the user (default: one enemy for add, one ally for remove) | |
| action | No | add | |
| mpCost | No | ||
| states | Yes | States to add/remove | |
| tpCost | No | ||
| stypeId | No | Skill type id (1 = Magic by default) | |
| occasion | No | When usable: 0 always, 1 battle only, 2 menu only, 3 never | |
| iconIndex | No | Icon sheet index | |
| animationId | No | Animation id from the Animations database (0 = none, -1 = normal attack) | |
| description | No | Two-line description shown in menus |