Files
game-code-4/data/schema/wrath_layers.schema.json
T

59 lines
3.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "wrath_layers.schema.json",
"title": "wrath_layers 表 schema v0(冤煞层 22 层逐行效果/成本,W5 补登 G-1)",
"description": "为什么独立成表(W5 sim 一轮裁定报告 §4.2 缺口 G-1):[B§12] 七张表清单漏登冤煞层——[B§3.2] 定义了 22 层效果/成本但从未给 CSV 落点,原实现是 balance_tuning 标量 tune_wrath_bonus=0.25 配 economy_state.gd 线性乘层数(架构债:改一层效果要改代码)。本表 22 行 = 一层一行;effect = 该层购入后加入全局乘区的加法值(L1-15 = 0.15;L16-22 = 0.00,W5 裁定 P-25:+25%/层线性到底 → 15 层后归零,合计封顶 +225%,16-22 层保留购买入口作收藏/成就向,叙事'怨煞噬主,过盛不顶用');cost = 该层冤气成本 = round(8 × n^1.8)([B§3.2] 原公式逐行落盘,公式参数 base/exp/bonus 三行已从 balance_tuning 移除)。削减速(−4%/层封顶 −40%)不随层变,按纪律留 balance_tuning 公式行(tune_wrath_penalty/tune_wrath_penalty_cap);层总数 tune_wrath_layers=22 与本表行数由 BalanceData.check_references 交叉校验。稳定 ID:wrath_layer_NN,永不重编号(年更冤案包若加层 = 加行并同步 tune_wrath_layers,走 ADR)。",
"x-supported-keywords": [
"type", "properties", "required", "items", "enum", "pattern",
"minimum", "maximum", "minLength", "minItems", "maxItems",
"additionalProperties", "const"
],
"x-unique": ["id", "layer_index"],
"type": "object",
"required": ["sheet", "schema_version", "columns", "rows"],
"properties": {
"sheet": { "const": "wrath_layers" },
"schema_version": { "const": 0 },
"columns": {
"type": "array",
"items": { "type": "string" },
"minItems": 4
},
"rows": {
"type": "array",
"minItems": 22,
"maxItems": 22,
"items": {
"type": "object",
"required": ["id", "layer_index", "effect", "cost"],
"properties": {
"id": {
"type": "string",
"pattern": "^wrath_layer_[0-9]{2}$",
"description": "稳定字符串 ID;永不重编号/复用(与 layer_index 对齐:wrath_layer_01 = 第 1 层)"
},
"layer_index": {
"type": "integer",
"minimum": 1,
"maximum": 22,
"description": "层序号(1 起;22 层为 [B§3.2] 锁定总数,删行 = 设计动作走 ADR)"
},
"effect": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "该层加入全局乘区的加法值(W5 裁定:L1-15 = 0.15;L16-22 = 0.00 归零)"
},
"cost": {
"type": "integer",
"minimum": 0,
"description": "该层冤气成本 = round(8 × n^1.8)([B§3.2] 公式逐行落盘;gen_balance_sheets.py 生成,单测交叉校验)"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}