Class: [RPG](RPG.md).Skill
[Class Tree](index.md)
SKILL.md
Full skill instructions
Class: RPG.Skill
Superclass: RPG.UsableItem
| Database | JSON File | Global Variable | Object |
|---|---|---|---|
| [Skills] | Skills.json | $dataSkills(array) | Game_Item |
The _dataClass property of Game_Item will be 'skill'.
Properties
| Identifier | Type | Description |
|---|---|---|
stypeId | Number | Skill Type ID |
mpCost | Number | [MP Cost] |
tpCost | Number | [TP Cost] |
message1 | String | Upper message [Message] |
message2 | String | Lower message [Message] |
requiredWtypeId1 | Number | [Required Weapon] [Weapon Type 1] |
requiredWtypeId2 | Number | [Required Weapon] [Weapon Type 2] |
Skill ID
The ID set in [Database] - [Skills]. It also corresponds to the index in the global variable $dataSkills.<br /> The table below shows IDs 0 to 2 as fixed, while others can be changed to default values.
| ID | [Skill] |
|---|---|
| 0 | None |
| 1 | Attack |
| 2 | Defense |
| 3 | Continuous Attack |
| 4 | Double Attack |
| 5 | Triple Attack |
| 6 | Escape |
| 7 | Observe |
| 8 | Heal |
| 9 | Fire |
| 10 | Spark |
Skill Type ID
The ID set in [Database] - [Type] - [Skill Type].<br /> The skill type names are registered in the skillTypes property of System.
The table below shows ID 0 as fixed, while others can be changed to default values.
| ID | [Skill Type] |
|---|---|
| 0 | None |
| 1 | Magic |
| 2 | Special Move |
