Show Chinese battle blockers and label actual defeats clearly

This commit is contained in:
AttilaNet
2026-11-08 20:30:16 +08:00
parent 0ec95bbe65
commit 5432a3d583
7 changed files with 86 additions and 7 deletions
+2 -2
View File
@@ -443,7 +443,7 @@ class ProgressionPlanner:
return False, None, "等待已验证的引导记录:" + str(guide)
kind, value = step.get("statusType"), step.get("statusValue") or {}
if kind in ("battle", "passStage"):
return False, None, "需要真实任务战斗" if kind == "battle" else "需要通过指定关卡的任务战斗"
return False, None, "需要进行任务战斗" if kind == "battle" else "需要通过指定关卡的任务战斗"
if kind == "none":
return True, None, "对话步骤"
if kind == "getMoney":
@@ -639,7 +639,7 @@ class ProgressionPlanner:
reason = self._battle_resources(snapshot, policy, ranch, stage, level)
if reason:
return block(reason)
return make("progression_battle", "请求真实任务战斗:" + info.get("name", ""),
return make("progression_battle", "执行任务战斗:" + info.get("name", ""),
path="battleService/battleStart", payload={"battleType": "task", "taskTypeId": str(task["typeId"])})
return make("progression_step", "提交任务步骤:" + requirement,
path="taskService/taskCompleteStep", payload={"taskId": _integer(task["id"]), "taskTypeId": str(task["typeId"]), "removeIds": ids})