create_healing_skill
Generate healing skills for RPG Maker MZ/MV games by defining name, healing formula, MP cost, and target scope to restore character health during gameplay.
Instructions
Create a healing skill (simplified)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Skill name | |
| healFormula | Yes | Heal formula (e.g., "a.mat * 3 + 100") | |
| mpCost | Yes | MP cost | |
| scope | Yes | Target scope (7=ally all, 11=user) | |
| description | No | Skill description |
Implementation Reference
- src/tools/skillTools.ts:193-218 (handler)The handler function that creates a healing skill by calling createSkill with healing-specific damage parameters.
export async function createHealingSkill( projectPath: string, name: string, healFormula: string, mpCost: number, scope: number, description?: string ): Promise<Skill> { return await createSkill(projectPath, { name, description: description || `${name}でHPを回復する`, mpCost, scope, damage: { type: 3, // HP recovery elementId: 0, formula: healFormula, variance: 20, critical: false }, animationId: 47, message1: `%1は${name}を唱えた!`, stypeId: 1, iconIndex: 72 }); } - src/index.ts:270-283 (schema)The tool definition and input schema for create_healing_skill.
{ name: 'create_healing_skill', description: 'Create a healing skill (simplified)', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Skill name' }, healFormula: { type: 'string', description: 'Heal formula (e.g., "a.mat * 3 + 100")' }, mpCost: { type: 'number', description: 'MP cost' }, scope: { type: 'number', description: 'Target scope (7=ally all, 11=user)' }, description: { type: 'string', description: 'Skill description' }, }, required: ['name', 'healFormula', 'mpCost', 'scope'], }, - src/index.ts:698-706 (registration)The registration switch-case that routes the create_healing_skill tool call to the corresponding handler function.
case 'create_healing_skill': return await skillTools.createHealingSkill( this.projectPath, args.name, args.healFormula, args.mpCost, args.scope, args.description );