SK_LongZhu
parent
af9badcc95
commit
0e3585dd0a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue