create_state_skill
Create a skill that inflicts a specified status effect (poison, sleep, etc.) on enemies. Requires an existing state ID; validate state first.
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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"stateId": "<stateId>",
"chance": "<chance>",
"mpCost": "<mpCost>",
"scope": "<scope>"
},
"name": "create_state_skill"
}
}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 |