Implement playable Mac client and rendering validation

This commit is contained in:
shen
2026-09-11 14:58:22 +08:00
parent 1ab68bd06e
commit 374d4165d8
233 changed files with 6546 additions and 284 deletions
+10
View File
@@ -1268,6 +1268,16 @@ func _change_target_to_picked_instance(vid: int) -> bool:
_refresh_target_hud()
return true
# Public test/automation adapter for the same target path used by a real
# pointer click. It keeps all combat eligibility checks and sends the normal
# CG_TARGET through _change_target_to_picked_instance; it does not synthesize
# a hit or alter EntityStore state.
func select_target(vid: int) -> bool:
if _observer_mode or client == null or not client.has_method("is_in_game") or not client.is_in_game():
return false
_attack_cd = 0.0
return _change_target_to_picked_instance(vid)
# --- §3.4 扇形 / 圆形多目标 fly-targetingPythonPlayerSkill.cpp:680-746----------
# 主角 → 某点的水平方位角(度)。扇形过滤 / 随机点抖动只比较角差,与坐标系无关,