Json Skills.json - hikipuro/rpgmakermv_ref GitHub Wiki
Skills.json の構造
- データベースのスキルのデータ
- data/Skills.json に配置されている
- インデックス 0 の項目は null (1 から始まる)
[
null,
{
"id": 1,
"animationId": -1,
"damage": {
"critical": true,
"elementId": -1,
"formula": "a.atk * 4 - b.def * 2",
"type": 1,
"variance": 20
},
"description": "",
"effects": [
{
"code": 21,
"dataId": 0,
"value1": 1,
"value2": 0
},
.
.
.
],
"hitType": 1,
"iconIndex": 76,
"message1": "の攻撃!",
"message2": "",
"mpCost": 0,
"name": "攻撃",
"note": "スキル1番は[攻撃]コマンドを\n選択したときに使用されます。",
"occasion": 1,
"repeats": 1,
"requiredWtypeId1": 0,
"requiredWtypeId2": 0,
"scope": 1,
"speed": 0,
"stypeId": 0,
"successRate": 100,
"tpCost": 0,
"tpGain": 10
},
.
.
.
]
項目 | 型 | 説明 |
---|---|---|
id | number | スキルのID |
animationId | number | 発動:アニメーション |
damage | object | ダメージ |
description | string | 基本設定:説明 |
effects | Array.<object> | 使用効果 |
hitType | number | 発動:命中タイプ |
iconIndex | number | 基本設定:アイコン |
message1 | string | メッセージ1 |
message2 | string | メッセージ2 |
mpCost | number | 基本設定:消費MP |
name | string | 基本設定:名前 |
note | string | メモ |
occasion | number | 基本設定:使用可能時 |
repeats | number | 発動:連続回数 |
requiredWtypeId1 | number | 必要武器:武器タイプ1 |
requiredWtypeId2 | number | 必要武器:武器タイプ2 |
scope | number | 基本設定:範囲 |
speed | number | 発動:速度補正 |
stypeId | number | 基本設定:スキルタイプ |
successRate | number | 発動:成功率 |
tpCost | number | 基本設定:消費TP |
tpGain | number | 発動:得TP |