Implement playable Mac client and rendering validation
This commit is contained in:
@@ -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-targeting(PythonPlayerSkill.cpp:680-746)----------
|
||||
|
||||
# 主角 → 某点的水平方位角(度)。扇形过滤 / 随机点抖动只比较角差,与坐标系无关,
|
||||
|
||||
Reference in New Issue
Block a user