black_souls_battle_action
Execute a single battle turn: choose a command (attack, skill, magic, guard, item, flee) and specify target indices; validates costs and returns updated party and enemy state.
Instructions
Execute one battle turn in a single call: pick the command (attack / skill(特技) / magic(魔法) / guard / item / flee), the list index, and the enemy target; menu navigation is closed-loop against the real cursor. Indices come from black_souls_battle_options; a choice the battler cannot afford is refused before any input is spent. Returns resulting party (including MP/TP) and enemy state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| item_index | No | ||
| timeout_ms | No | ||
| enemy_index | No | ||
| skill_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |