SK_LongZhu
DESKTOP-RH64908\Administrator 2025-08-19 19:18:49 +08:00
parent af9badcc95
commit 0e3585dd0a
1 changed files with 6 additions and 0 deletions

View File

@ -410,6 +410,12 @@ function SkillCaster:GetMovePosition(skill)
local targetCamp = targets[1].camp
local targetPos = targets[1].position
for _, target in ipairs(targets) do
if target.position < targetPos then
targetPos = target.position
end
end
LogError("选择目标方式:" .. tostring(chooseLimit))
if chooseLimit == 0 or chooseLimit == 4 or chooseLimit == 5 then
return targetCamp == 0 and MoveMentPosition.My_All or MoveMentPosition.Enemy_All