完善客户端功能并同步差距文档
This commit is contained in:
@@ -126,11 +126,14 @@ func shoot(skill): shots.append(skill); return true
|
||||
await process_frame
|
||||
_ck(gs.ui.get_node_or_null("ColorRect") != null or gs._flash_rect != null,
|
||||
"motion_event: type 3 → 屏闪 ColorRect")
|
||||
gs._pending_shoot_skill = 77
|
||||
gs._queue_shot(77)
|
||||
gs._queue_shot(78)
|
||||
gs._on_local_motion_event(6, "", "", Vector3.ZERO)
|
||||
_ck(fake_client.shots == [77], "motion_event: FLY → sends pending CG_SHOOT once")
|
||||
_ck(fake_client.shots == [77], "motion_event: FLY → FIFO pop 一发 CG_SHOOT")
|
||||
gs._on_local_motion_event(6, "", "", Vector3.ZERO)
|
||||
_ck(fake_client.shots == [77], "motion_event: FLY clears pending shoot")
|
||||
_ck(fake_client.shots == [77, 78], "motion_event: FLY 连射按序 pop(AutoClear)")
|
||||
gs._on_local_motion_event(6, "", "", Vector3.ZERO)
|
||||
_ck(fake_client.shots == [77, 78], "motion_event: FLY 队列空 → 不再发")
|
||||
|
||||
gs.queue_free()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user