update_class
Update a class's properties in RPG Maker MZ by merging changes into its existing record. Modify name, expParams, traits, or replace learnings/params arrays; use dry run to preview changes.
Instructions
Update a class's properties (shallow merge into the existing record). Use for name, expParams, traits, or to replace the whole learnings/params arrays; for targeted edits prefer add_class_learning / set_class_param_curve. Warns when a learned skill's stypeId has no Add Skill Type trait ({ code: 41 }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| classId | Yes | The ID of the class to update | |
| updates | Yes | Object containing class properties to update |