From 90dbf7288cfaa73310b3d7f9c4bd9ff5e39efc1a Mon Sep 17 00:00:00 2001 From: DKChan <524912269@qq.com> Date: Tue, 27 Oct 2026 07:59:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=A1=E2=91=A0T6(=E6=8B=86=E4=BB=B6?= =?UTF-8?q?=E6=89=B9wr7/V14):=20=E6=94=B9=E5=9D=80=E6=89=AB=E5=B0=BE?= =?UTF-8?q?=EF=BC=8B=E9=94=AE=E8=B4=A6=E5=A4=8D=E6=B5=8B=EF=BC=8B=E6=9B=BF?= =?UTF-8?q?=E4=BB=A3=E9=AA=8C=E6=94=B6=E5=85=AD=E7=BB=84=E5=AD=97=E8=8A=82?= =?UTF-8?q?=E4=B8=80=E8=87=B4=E2=80=94=E2=80=94=E2=91=A0S9=20=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=97=B8=E4=B8=89=E5=A4=84=E5=BD=92=E9=9B=B6=EF=BC=88?= =?UTF-8?q?open=5Fticket=20=E7=9A=84=20context=20=E6=94=B9=20`:=3D=20spec.?= =?UTF-8?q?get(...)=20as=20Dictionary`=20=E6=8E=A8=E6=96=AD=E5=BD=A2?= =?UTF-8?q?=EF=BC=9Breward=5Fgrant=20=E7=9A=84=20gate=5Freject/reject=20?= =?UTF-8?q?=E6=94=B9=20`:=3D`=E2=80=94=E2=80=94=E4=B8=A4=E5=87=BD=E6=95=B0?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=B7=B2=E6=A0=87=20->=20Dictionary=EF=BC=8C?= =?UTF-8?q?=E6=98=BE=E5=BC=8F=E8=A3=B8=20Dictionary=20=E6=B3=A8=E8=A7=A3?= =?UTF-8?q?=EF=BC=9DR1=20=E6=97=A0=E7=B1=BB=E5=9E=8B=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=EF=BC=89=EF=BC=9BS8=20=E6=97=A5=E5=BF=97=E3=80=8C7=20=E4=B8=AA?= =?UTF-8?q?=20.gd=E3=80=8D=E8=AE=A2=E6=AD=A3=209=EF=BC=88T1=20=E5=B7=B2?= =?UTF-8?q?=E6=8A=8A=E4=B8=A4=E6=96=B0=E4=BB=B6=E7=99=BB=E8=BF=9B=20S8=5FF?= =?UTF-8?q?ILES=EF=BC=8C=E6=B8=85=E5=8D=95=209=20=E4=BB=B6=E8=80=8C?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=96=87=E6=A1=88=E6=BC=8F=E6=94=B9=EF=BC=89?= =?UTF-8?q?=EF=BC=9B=E2=91=A1=E6=94=B9=E5=9D=80=E6=89=AB=E5=B0=BE=E5=AE=9E?= =?UTF-8?q?=E6=B5=8B=EF=BC=9A=5Fgrant=5Frouted=20=E4=BB=85=201=20=E5=A4=84?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=EF=BC=88forge=5Ftest:665=EF=BC=89=E3=80=81?= =?UTF-8?q?=5Fflush=5Fpending=5Freveals/=5Ffx=5Fenqueue=5Freveal=20?= =?UTF-8?q?=E9=9B=B6=E5=91=BD=E4=B8=AD=E3=80=81.escrow=20=E5=85=A8?= =?UTF-8?q?=E4=B8=BA=20reward=5Fgrant().escrow=20=E6=96=B0=E5=BD=A2?= =?UTF-8?q?=EF=BC=88tests=203=20=E5=A4=84=E6=94=B9=E5=9D=80=E5=88=B0?= =?UTF-8?q?=E4=BD=8D=EF=BC=8C=E9=AA=8C=E8=AF=81=E9=9B=86=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E6=97=A7=E5=BF=AB=E7=85=A7=E7=94=B1=20T7=20=E9=87=8D=E7=94=9F?= =?UTF-8?q?=E6=88=90=EF=BC=89=E3=80=81open=5Fticket=2030=20=E5=A4=84?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E5=85=A8=204=20=E5=8F=82=20spec=20=E5=BD=A2?= =?UTF-8?q?=EF=BC=88=E8=84=9A=E6=9C=AC=E8=AE=A1=E6=95=B0=EF=BC=89=E3=80=81?= =?UTF-8?q?=5Femit=5Frow=20=E5=85=A8=205=20=E5=8F=82=20head=20=E6=9D=9F?= =?UTF-8?q?=E5=BD=A2=EF=BC=88=E8=84=9A=E6=9C=AC=E8=AE=A1=E6=95=B0=EF=BC=89?= =?UTF-8?q?=E3=80=81settlement=2017=20=E5=88=97=E5=B9=B3=E9=93=BA=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=AF=BB=E9=9B=B6=E5=91=BD=E4=B8=AD=EF=BC=88=E6=B3=A8?= =?UTF-8?q?=E9=87=8A/=E5=AD=97=E7=AC=A6=E4=B8=B2=E9=99=A4=E5=A4=96?= =?UTF-8?q?=EF=BC=89=EF=BC=9B=E2=91=A2=E9=94=AE=E8=B4=A6=EF=BC=9Agdstyle?= =?UTF-8?q?=20=E5=91=BD=E4=B8=AD=20172=20=E6=9D=A1=EF=BC=9D=E5=9F=BA?= =?UTF-8?q?=E7=BA=BF=E5=86=85=20172=E3=80=81=E5=9F=BA=E7=BA=BF=E5=A4=96?= =?UTF-8?q?=E6=96=B0=E8=BF=9D=E8=A7=84=200=E3=80=81=E6=81=B6=E5=8C=96=201?= =?UTF-8?q?=EF=BC=88level=5Fmap=5Fscreen=20=E7=B1=BB=E5=8F=98=E9=87=8F=202?= =?UTF-8?q?2>21=EF=BC=9Diter38=20=E5=AD=98=E9=87=8F=EF=BC=8C=E9=9D=9E?= =?UTF-8?q?=E6=9C=AC=E6=89=B9=E8=A7=A6=E7=A2=B0=E9=9D=A2=EF=BC=89=EF=BC=9B?= =?UTF-8?q?=E6=9C=AC=E6=89=B9=2045=20=E9=94=AE=E5=AE=9E=E6=B5=8B=2044=20?= =?UTF-8?q?=E9=94=AE=E9=9B=B6=E5=91=BD=E4=B8=AD=EF=BC=88=E5=AE=BF=E4=B8=BB?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=BA=A7=E8=A1=8C=E6=95=B0=20999<1000=20?= =?UTF-8?q?=E4=BA=A6=E5=BD=92=E7=BB=BF=EF=BC=89=EF=BC=8B=E5=94=AF=E4=B8=80?= =?UTF-8?q?=E8=B1=81=E5=85=8D=E9=94=AE=20battle=5Forchestrator=20=E7=B1=BB?= =?UTF-8?q?=E5=8F=98=E9=87=8F=2050=E2=86=9238=EF=BC=88<=E7=99=BB=E8=AE=B0?= =?UTF-8?q?=E5=80=BC=EF=BC=8C=C2=A711=20=E8=A3=81=E5=86=B3=E2=91=A3?= =?UTF-8?q?=E8=B1=81=E5=85=8D=E7=AC=AC=E4=B8=89=E6=9D=A1=E5=BD=92=E5=8F=8D?= =?UTF-8?q?=E5=93=BA=E7=82=B9=E6=B8=85=E5=8D=95=EF=BC=89=EF=BC=9B=E5=9F=BA?= =?UTF-8?q?=E7=BA=BF=E6=96=87=E4=BB=B6=E9=9B=B6=E6=94=B9=E5=8A=A8=EF=BC=9B?= =?UTF-8?q?=E2=91=A3=E6=9B=BF=E4=BB=A3=E9=AA=8C=E6=94=B6=EF=BC=9Adump=5Fba?= =?UTF-8?q?ttle=20=E5=85=AD=E7=BB=84=EF=BC=88L{1,2}=C3=97S{42,779401,77950?= =?UTF-8?q?1}=EF=BC=89=E6=8C=89=20T0=20=E5=90=8C=E5=8F=82=20stdout-only=20?= =?UTF-8?q?=E5=A4=8D=E8=B7=91=EF=BC=8C=E5=85=AD=E4=BB=BD=E4=B8=8E=E6=94=B9?= =?UTF-8?q?=E5=89=8D=20JSONL=20=E9=80=90=E5=AD=97=E8=8A=82=20cmp=20?= =?UTF-8?q?=E5=85=A8=E7=AD=89=EF=BC=88=E6=AD=A4=E5=89=8D=202>&1=20?= =?UTF-8?q?=E6=8D=95=E8=8E=B7=E7=9A=84=E5=B0=BE=E6=B3=A8=20ObjectDB/resour?= =?UTF-8?q?ce=20=E6=B3=84=E6=BC=8F=E5=91=8A=E8=AD=A6=E4=B8=8E=E6=A3=8B?= =?UTF-8?q?=E7=9B=98=E7=94=9F=E6=88=90=E9=87=8D=E8=AF=95=20WARNING=20?= =?UTF-8?q?=E5=B1=9E=20stderr=EF=BC=8C=E4=B8=8E=E6=B8=B8=E6=88=8F=E8=A1=8C?= =?UTF-8?q?=E6=97=A0=E5=85=B3=EF=BC=89=E3=80=82=E9=AA=8C=E6=94=B6=EF=BC=9A?= =?UTF-8?q?damage=5Fcontroller=5Ftest=2044=20checks=20=E7=BB=BF=E3=80=81tr?= =?UTF-8?q?easure=5Feffects=2012=20=E4=BB=B6=E7=BB=BF=EF=BC=8C=E5=9D=87?= =?UTF-8?q?=E9=9B=B6=20SCRIPT=20ERROR=E3=80=94=E6=8B=86=E4=BB=B6=E6=89=B9?= =?UTF-8?q?=20V14=E3=80=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game/core/damage_controller.gd | 2 +- game/core/reward_grant.gd | 4 ++-- game/tests/static_scan.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/game/core/damage_controller.gd b/game/core/damage_controller.gd index 68f51418..6afbef7b 100644 --- a/game/core/damage_controller.gd +++ b/game/core/damage_controller.gd @@ -145,7 +145,7 @@ func submit(t: Dictionary) -> int: func open_ticket(kind: String, source_class: String, display: String, spec: Dictionary = {}) -> Dictionary: for req in ["channel", "base_value", "target_rule", "ri"]: assert(spec.has(req), "open_ticket spec 束缺载必载键: %s" % req) - var context: Dictionary = spec.get("context", {}) + var context := spec.get("context", {}) as Dictionary var t := { "kind": kind, "source_class": source_class, diff --git a/game/core/reward_grant.gd b/game/core/reward_grant.gd index 0c55ef54..b2719631 100644 --- a/game/core/reward_grant.gd +++ b/game/core/reward_grant.gd @@ -91,10 +91,10 @@ func use_treasure(handle: int, target: Vector2i) -> Dictionary: func(c: Vector2i): return not board.is_revealed(c)) if not bool(v.ok): return v # ② 拒绝零消耗 - var gate_reject: Dictionary = _charge_gate(v, target) + var gate_reject := _charge_gate(v, target) if not gate_reject.is_empty(): return gate_reject # ②半 受理闸拒绝零消耗 - var reject: Dictionary = _apply_use_kinds(v, target) + var reject := _apply_use_kinds(v, target) if not reject.is_empty(): return reject # ③ 拒绝零消耗(④ consume 之前 return——reason 可呈现) var rec: Dictionary[Variant, Variant] = treasure_inventory.consume(handle) diff --git a/game/tests/static_scan.sh b/game/tests/static_scan.sh index 0a920371..089c26ca 100644 --- a/game/tests/static_scan.sh +++ b/game/tests/static_scan.sh @@ -332,7 +332,7 @@ else grep -rnE '\bawait\b' $S8_FILES 2>/dev/null | grep -vE '^[^:]+:[0-9]+:[[:space:]]*#' | grep -vE '"[^"]*\bawait\b[^"]*"' fail=1 else - echo "[static_scan] S8 ok(扫描面 B1 文件集 7 个 .gd,await 零命中)" + echo "[static_scan] S8 ok(扫描面 B1 文件集 9 个 .gd,await 零命中)" fi fi