68 lines
3.6 KiB
JSON
68 lines
3.6 KiB
JSON
{
|
||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
"$id": "boss_battles.schema.json",
|
||
"title": "boss_battles 表 schema v0(十场殿王战参数,数值抄录自 Balance Bible v1.0 §5)",
|
||
"description": "架构 §3.2 CSV 规范落盘。HP = hp_factor × 进入时产出/s × hall_factor([B§5]:强度跟随产出,任何水平 ~30s 的仗;hp_factor=15 为 [B§11 差异#4] 修复值,GDD 旧值 50 已废止)。军列 DPS = 产出/s × army_dps_factor。点击伤害 = 点击价值 × 点击区倍率 × 连击(combo_step/层,combo_cap 封顶)。INTRO 开场伤害 = min(超度值×intro_dmg_souls_factor, HP×intro_dmg_cap_ratio)。通过奖励 = 阴德爆发 HP×reward_hp_ratio。",
|
||
"x-supported-keywords": [
|
||
"type", "properties", "required", "items", "enum", "pattern",
|
||
"minimum", "maximum", "minLength", "minItems", "maxItems",
|
||
"additionalProperties", "const"
|
||
],
|
||
"x-unique": ["id", "hall_id"],
|
||
"type": "object",
|
||
"required": ["sheet", "schema_version", "columns", "rows"],
|
||
"properties": {
|
||
"sheet": { "const": "boss_battles" },
|
||
"schema_version": { "const": 0 },
|
||
"columns": {
|
||
"type": "array",
|
||
"items": { "type": "string" },
|
||
"minItems": 14
|
||
},
|
||
"rows": {
|
||
"type": "array",
|
||
"minItems": 10,
|
||
"maxItems": 10,
|
||
"items": {
|
||
"type": "object",
|
||
"required": [
|
||
"id", "hall_id", "hall_factor", "hp_factor", "army_dps_factor",
|
||
"intro_sec", "intro_dmg_souls_factor", "intro_dmg_cap_ratio",
|
||
"active_sec", "combo_window_sec", "combo_step", "combo_cap",
|
||
"retry_cooldown_sec", "reward_hp_ratio"
|
||
],
|
||
"properties": {
|
||
"id": { "type": "string", "pattern": "^boss_hall_[0-9]{2}$" },
|
||
"hall_id": {
|
||
"type": "string",
|
||
"pattern": "^hall_[0-9]{2}_[a-z]+$",
|
||
"description": "halls.csv 行 ID(每殿恰一场)"
|
||
},
|
||
"hall_factor": {
|
||
"type": "number",
|
||
"minimum": 1,
|
||
"maximum": 3,
|
||
"description": "殿系数([B§5] H1-H10 = 1.0/1.1/1.2/1.3/1.4/1.6/1.8/2.0/2.1/2.2)"
|
||
},
|
||
"hp_factor": {
|
||
"const": 15,
|
||
"description": "HP 系数([B§5]:15×产出/s×殿系数;[B§11] 由 GDD 50 修正)"
|
||
},
|
||
"army_dps_factor": { "type": "number", "minimum": 0, "description": "军列 DPS = 产出/s × 本值([B§5] 1.0)" },
|
||
"intro_sec": { "type": "integer", "minimum": 0, "description": "INTRO 冲锋过场秒数(3s)" },
|
||
"intro_dmg_souls_factor": { "type": "number", "minimum": 0, "description": "开场伤害 = 超度值 × 本值(0.5)" },
|
||
"intro_dmg_cap_ratio": { "type": "number", "minimum": 0, "maximum": 1, "description": "开场伤害封顶 = HP × 本值(0.2)" },
|
||
"active_sec": { "type": "integer", "minimum": 1, "description": "ACTIVE 主动阶段秒数(30s)" },
|
||
"combo_window_sec": { "type": "number", "minimum": 0, "description": "连击窗口(0.6s)" },
|
||
"combo_step": { "type": "number", "minimum": 0, "description": "连击每层加成(+2%)" },
|
||
"combo_cap": { "type": "number", "minimum": 0, "maximum": 1, "description": "连击封顶(+60%)" },
|
||
"retry_cooldown_sec": { "type": "integer", "minimum": 0, "description": "失败后再战冷却(60s;H7 前败即等推 → up_gate_boss_retry)" },
|
||
"reward_hp_ratio": { "type": "number", "minimum": 0, "maximum": 1, "description": "通过奖励阴德爆发 = HP × 本值(0.2)" }
|
||
},
|
||
"additionalProperties": false
|
||
}
|
||
}
|
||
},
|
||
"additionalProperties": false
|
||
}
|