create_state_skill
Create a status-effect skill such as poison or sleep. Ensures the referenced state exists; throws an error otherwise. Define name, state ID, chance, MP cost, and target scope.
Instructions
Create a state-inflicting skill (poison, sleep, etc.). Throws if stateId does not exist in States.json (create the state first with create_state).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Skill name | |
| scope | Yes | Target scope (1=enemy single, 2=enemy all) | |
| chance | Yes | Success chance (0.0-1.0) | |
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| mpCost | Yes | MP cost | |
| stateId | Yes | State ID (4=poison, 5=blind, 6=silence, 8=confusion, etc.) | |
| description | No | Skill description |