create_state
Create a new status effect by specifying its name, icon, turn duration, removal conditions, and other properties for RPG Maker MZ games.
Instructions
Create a new state (status effect) in the database
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | State name | |
| iconIndex | No | Icon index | |
| restriction | No | Restriction: 0=None, 1=Attack Enemy, 2=Attack Anyone, 3=Attack Ally, 4=Cannot Move | |
| priority | No | Priority (0-100) | |
| minTurns | No | Minimum turns | |
| maxTurns | No | Maximum turns | |
| autoRemovalTiming | No | Auto removal: 0=None, 1=Action End, 2=Turn End | |
| chanceByDamage | No | Chance to remove by damage % | |
| removeAtBattleEnd | No | Remove at battle end | |
| regenerateMpRate | No | MP Regeneration Rate % (negative for damage) |