revert(m80-i38): roll the mark rows back to pending with precise reasons
This commit is contained in:
@@ -117,7 +117,7 @@ reach/目标选择、Guard/护盾、伤害公式(含暴击与标签化随机
|
||||
| `M80-I35` | RESOLVED(2026-09-18,M92)| **EN-R1-09 Crosswind Scribe 签名**(on_advance:在敌方最前/最后之间画线;下一次跨线换位 → `hindered`;窗口 `CROSSWIND_WINDOW_TICKS=30` 未跨线 → 一次弱范围命中 `floor(base×coefficient×0.5)` 打全员。窗口时长文档未给,取既有 status 默认档 30 并记录在案):门 `ABG_M80_ENEMY_ACTIONS_OK ... implemented=12 enr1_09=%d` |
|
||||
| `M80-I36` | RESOLVED(2026-09-18,M93)| **EQ-310 Wandering Engine**(device-follows):设备记录 `owner_id`;穿戴者每次移动后设备跟到其后位并立即获得行动准备("acts after arriving");设备**每次行动**`summon_ticks -= 1`(文档未给数值,取与逐 tick 递减同单位=1 并记录在案)。`footprint` 待定原因改写为剩余 on_summon 行 |
|
||||
| `M80-I37` | RESOLVED(2026-09-18,M94)| **EQ-316 Item Chorus Frame**(最小 repeat scheduler):战斗中记录**不同**的友方已应用触发标签(tag=hook 名,首个命中者计一次);累计 3 个 → 立即**非伤害**重复**最旧**标签的可复用效果子集(guard_bonus/movement_bonus/damage_reduction;damage_bonus 结构性排除)。**绑定采用 A 案**:声明 hook 为 `on_cast_complete`,因此改由**穿戴者完成施法时**检查本战累计标签并调度(`_check_chorus_frame` 只认带 `on_cast_complete/repeat` 的穿戴者;`_log_equipment_trigger` 不再自行触发)——理由:与装备声明 hook 一致,且无 EQ-316 的队伍不会白拿。三个贡献者各 `readiness -= tempo*0.1`("gain cooldown",与 M80-I23 的退还单位对称)。"non-damaging" 与 "oldest" 的读法按目录原文取最小一致解 |
|
||||
| `M80-I38` | RESOLVED(2026-09-18,M95)| **`mark`/`status` 重新点名切片**:本包取 `battle_scoped` 中可映射到既有点名位 `before_target` + `status_apply` 的三行——EQ-010(首次居前施压→对最前敌人 `marked`)、EQ-155(朝已标记者行动→刷新 `marked`,即"保时"最小读法)、EQ-319(命中的敌人规则来源被 `marked`)。**逐行观测**:真实战斗中三行各自的 `status/marked` 事件按 actor 可查,且出现 `refreshed=true`。**缓做**:EQ-158("阻止跨穿戴者传播"需拦截窗口,非点名可解)与大组 `missing_system` 行。分组基线(M93 后):`battle_scoped=19 / missing_system=16 / out_of_battle=6` |
|
||||
| `M80-I38` | REJECTED(语义保真,2026-09-18)| **M95 曾把 EQ-010 / EQ-155 / EQ-319 误标 `implemented` 并统一接成 `before_target`+`marked`;经 PM 语义复核驳回,三行已回滚 pending 并精确化理由**(EQ-010 `first_becomes_foremost_window`;EQ-155 `step_direction_preserves_mark`;EQ-319 `region_tag_choice_marks_source`)。驳回理由:三行散文各需自己的触发/窗口,通用 `marked` 不能替代。**修正规则(M80-I27 口径)**:①只有散文触发点在引擎里已存在才允许换点名位;②触发点不存在的行保持 pending 并给出精确理由;③不得用同一通用效果替代不同散文。回滚 attempt:`m95-mark-status-repoint/20260918T100622Z-5954`(误标)→ 回滚后重跑同 label。后续:EQ-010 需"首次居前窗口"(M96 待确认)、EQ-155 需移动方向跟踪、EQ-319 需区域标签选择(可能同 EQ-317 属 UI/战外决策) |
|
||||
战斗结束时,若该同伴**一次/每战触发**(引擎已有的三种"已用"标记:标签镜像、共享清洁、打断守卫)全都未用,则 `ready_with_priority=true`;
|
||||
`carry_from`/`apply_carry` 把它随 HP 一起带进下一战;桥 `_ally_row` 透传;仿真里以该标记进场者 **开局准备度=阈值 100**(第一拍即可行动)。
|
||||
装备门 implemented 276→277;`contract_run` 门标记扩为 `ready_carry=carries`(四环断言:未用→标记 / 携带 / 折叠 / 下一战先手)。
|
||||
|
||||
@@ -55,7 +55,7 @@ const EFFECT_KEYWORDS := [
|
||||
const EXPLICIT := {
|
||||
"EQ-005": {"hook": "on_pull", "kind": "movement", "implemented": true},
|
||||
"EQ-006": {"hook": "on_pull", "kind": "movement", "implemented": true},
|
||||
"EQ-010": {"hook": "before_target", "kind": "status_apply", "effect": {"kind": "status_apply", "value": 1, "status": {"id": "marked", "sign": "hindrance", "ticks": 40, "chance_bp": 6000}}, "implemented": true},
|
||||
"EQ-010": {"hook": "on_advance", "kind": "mark", "implemented": false, "reason": "battle_scoped:first_becomes_foremost_window"},
|
||||
"EQ-015": {"hook": "on_advance", "kind": "cooldown_cut", "implemented": true},
|
||||
"EQ-016": {"hook": "on_advance", "kind": "cooldown_cut", "implemented": true},
|
||||
"EQ-017": {"hook": "on_pull", "kind": "movement", "implemented": true},
|
||||
@@ -89,7 +89,7 @@ const EXPLICIT := {
|
||||
"EQ-119": {"hook": "on_advance", "kind": "status", "implemented": false, "reason": "missing_system:indexed_opposite_position"},
|
||||
"EQ-148": {"hook": "on_status_apply", "kind": "tag_copy", "implemented": true},
|
||||
"EQ-154": {"hook": "on_status_expire", "kind": "cleanse_share", "implemented": true},
|
||||
"EQ-155": {"hook": "before_target", "kind": "status_apply", "effect": {"kind": "status_apply", "value": 1, "status": {"id": "marked", "sign": "hindrance", "ticks": 40, "chance_bp": 6000, "refresh": true}}, "implemented": true},
|
||||
"EQ-155": {"hook": "on_advance", "kind": "status", "implemented": false, "reason": "battle_scoped:step_direction_preserves_mark"},
|
||||
"EQ-158": {"hook": "on_status_apply", "kind": "status", "implemented": false},
|
||||
"EQ-160": {"hook": "on_status_expire", "kind": "immunity", "implemented": false},
|
||||
"EQ-165": {"hook": "on_resource_gain", "kind": "resource_gain", "implemented": true},
|
||||
@@ -142,7 +142,7 @@ const EXPLICIT := {
|
||||
"EQ-316": {"hook": "on_cast_complete", "kind": "repeat", "implemented": true},
|
||||
"EQ-317": {"hook": "after_collapse", "kind": "movement", "implemented": false, "reason": "battle_scoped:collapse_direction"},
|
||||
"EQ-318": {"hook": "on_signature", "kind": "planning", "implemented": false, "reason": "out_of_battle:snapshot"},
|
||||
"EQ-319": {"hook": "before_target", "kind": "status_apply", "effect": {"kind": "status_apply", "value": 1, "status": {"id": "marked", "sign": "hindrance", "ticks": 40, "chance_bp": 6000}}, "implemented": true},
|
||||
"EQ-319": {"hook": "before_target", "kind": "mark", "implemented": false, "reason": "battle_scoped:region_tag_choice_marks_source"},
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -38,9 +38,8 @@ func _run() -> void:
|
||||
_verify_site_coverage()
|
||||
_verify_device_follow()
|
||||
_verify_chorus()
|
||||
_verify_mark_repoint()
|
||||
if failures.is_empty():
|
||||
print("ABG_M80_EQUIPMENT_HOOKS_OK rows=320 classified=%d implemented=%d legal_hooks=true unclassified=%d battle_scoped=%d missing_system=%d out_of_battle=%d eq310=followed,drained eq316=scheduled,repeated,cooldown,non_damaging,negative=0 mark_repoint=eq010,eq155,eq319"
|
||||
print("ABG_M80_EQUIPMENT_HOOKS_OK rows=320 classified=%d implemented=%d legal_hooks=true unclassified=%d battle_scoped=%d missing_system=%d out_of_battle=%d eq310=followed,drained eq316=scheduled,repeated,cooldown,non_damaging,negative=0"
|
||||
% [classified, implemented, missing.size(), int(pending.battle_scoped), int(pending.missing_system), int(pending.out_of_battle)])
|
||||
quit(0)
|
||||
return
|
||||
@@ -237,46 +236,6 @@ func _verify_chorus() -> void:
|
||||
% [bare_counts.repeated, bare_counts.cooled])
|
||||
|
||||
|
||||
func _verify_mark_repoint() -> void:
|
||||
# M95: each repointed mark row must put its status on a real target, and the
|
||||
# map row must refresh (preserve) an existing Mark.
|
||||
var sim: ABGBattleSimulation = Simulation.new()
|
||||
var allies: Array = []
|
||||
for row_id in ["eq010", "eq155", "eq319"]:
|
||||
allies.append({"id": "ally-%s" % row_id, "position": allies.size(), "level": 4, "profession_id": "",
|
||||
"trait_ids": [], "might": 10, "finesse": 10, "insight": 10, "vigor": 16, "resolve": 10,
|
||||
"profession_base_hp": 400, "profession_base_tempo": 22, "profession_base_initiative": 12,
|
||||
"weapon_power": 3, "focus_power": 2, "armor_guard": 3, "armor_ward": 3,
|
||||
"profession_table": {},
|
||||
"action": {"id": "basic", "base": 4, "coefficient": 0.6, "power_source": "physical_power",
|
||||
"reach": 1, "kind": "damage", "target": "frontmost"},
|
||||
"equipment_hooks": [{"hook": "before_target", "kind": "status_apply",
|
||||
"effect": {"kind": "status_apply", "value": 1,
|
||||
"status": {"id": "marked", "sign": "hindrance", "ticks": 40, "chance_bp": 6000}},
|
||||
"implemented": true}]})
|
||||
var enemy := {"id": "enemy-mark", "position": 0, "level": 4, "profession_id": "", "trait_ids": [],
|
||||
"might": 6, "finesse": 6, "insight": 6, "vigor": 30, "resolve": 6,
|
||||
"profession_base_hp": 900, "profession_base_tempo": 8, "profession_base_initiative": 4,
|
||||
"weapon_power": 1, "focus_power": 1, "armor_guard": 8, "armor_ward": 8,
|
||||
"profession_table": {},
|
||||
"action": {"id": "basic", "base": 1, "coefficient": 0.1, "power_source": "physical_power",
|
||||
"reach": 1, "kind": "damage", "target": "frontmost"}}
|
||||
sim.setup("mark-repoint", allies, [enemy])
|
||||
var result := sim.run()
|
||||
var sources := {}
|
||||
var refreshed := 0
|
||||
for record in Array(result.get("journal", [])):
|
||||
var entry: Dictionary = Dictionary(record)
|
||||
if str(entry.get("kind", "")) != "status" or str(entry.get("status_id", "")) != "marked":
|
||||
continue
|
||||
sources[str(entry.get("actor", ""))] = true
|
||||
if bool(entry.get("refreshed", false)):
|
||||
refreshed += 1
|
||||
for row_id in ["eq010", "eq155", "eq319"]:
|
||||
_expect(sources.has("ally-%s" % row_id), "EQ-... %s marks a real target" % row_id)
|
||||
_expect(refreshed >= 1, "the map row refreshes a live Mark (refreshed=%d)" % refreshed)
|
||||
|
||||
|
||||
func _chorus_counts(result: Dictionary) -> Dictionary:
|
||||
var counts := {"repeated": 0, "cooled": 0, "damaging": 0}
|
||||
for record in Array(result.get("journal", [])):
|
||||
|
||||
Reference in New Issue
Block a user