Create healing skill
create_healing_skillDefine a healing skill that restores HP or MP using RPG Maker MV damage formula syntax, with optional removal of status effects from the target.
Instructions
Create a complete healing skill in one call. The formula uses MV damage syntax (a = user), e.g. 'a.mat * 2 + 200'. Heals HP or MP; optionally also removes states (e.g. a cure spell).
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 ally) | |
| mpCost | No | ||
| tpCost | No | ||
| formula | Yes | Recovery formula, e.g. 'a.mat * 2 + 200' | |
| stypeId | No | Skill type id (1 = Magic by default) | |
| occasion | No | When usable: 0 always, 1 battle only, 2 menu only, 3 never | |
| variance | No | ||
| 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 | |
| recoverType | No | hp | |
| removeStates | No | State ids to remove from the target (100% chance), e.g. poison |