fix(merge-t7): 主区合成态三修——grant_ap 对齐相位 enum(审查批3 Phase.ACTIVE)/outline_sides typed Array assign(审查批3 类型收紧)/mutation_mark 默认值伪影归零;冒烟577/0+五探针全绿
This commit is contained in:
1 parent
fd39a58aee
commit
beea5d6b06
3 files changed
+3
-3
No files matched your search
@@ -138,7 +138,7 @@ func notify_settlement_done(next_round_mode: String) -> bool:
|
||||
# 当轮行动点加量(GDD「加行动点效果给当轮」——区别于 queue_ap_delta 的下轮排队语义)。Active 受理、
|
||||
# 无上限域、零随机;使用道具本身零扣费(成本在获取时已付——捡道具格不出战斗奖励)。
|
||||
func grant_ap(amount: int) -> bool:
|
||||
if amount <= 0 or _phase != PHASE_ACTIVE:
|
||||
if amount <= 0 or _phase != Phase.ACTIVE:
|
||||
_reject("grant_ap")
|
||||
return false
|
||||
_ap += amount
|
||||
|
||||
@@ -90,7 +90,7 @@ var aux_mark := "":
|
||||
if aux_mark != v:
|
||||
aux_mark = v
|
||||
queue_redraw()
|
||||
var mutation_mark := ":":
|
||||
var mutation_mark := "":
|
||||
set(v):
|
||||
if mutation_mark != v:
|
||||
mutation_mark = v
|
||||
|
||||
@@ -711,7 +711,7 @@ func _paint_cell(c: Vector2i, hero: Vector2i) -> void:
|
||||
u.glyph = glyph
|
||||
u.glyph_color = digit_col
|
||||
u.plate = revealed and glyph != "" # 数字色牌(原则二——已开格字形全垫牌;旗在未开格不垫)
|
||||
u.outline_sides = []
|
||||
u.outline_sides.assign([]) # typed Array[int](代码审查批 3 类型收紧——assign 保持引用语义)
|
||||
u.facade_south = false
|
||||
u.proj_band = 0.0
|
||||
var south_n: Vector2i = c + Vector2i(0, 1)
|
||||
|
||||
Reference in new issue
Block a user