SK_LongZhu
DESKTOP-RH64908\Administrator 2025-08-19 17:57:22 +08:00
parent 0dbc582fab
commit d5e5b30b4a
1 changed files with 7 additions and 3 deletions

View File

@ -366,7 +366,7 @@ local FullEffectPosition = {
local MoveMentPosition = {
My_All = Vector3.New(0,-1.3, 0),
My_Front = Vector3.New(0,-1.3, 0),
My_Behind = Vector3.New(0,-1.5 , 0),
My_Behind = Vector3.New(-1,-1.5 , 0),
My_COL_1 = Vector3.New(0.5,-0.7, 0),
My_COL_2 = Vector3.New(0.5,-1.5, 0),
My_COL_3 = Vector3.New(0.5,-2.8, 0),
@ -374,7 +374,7 @@ local MoveMentPosition = {
Enemy_All = Vector3.New(0,-1.3, 0), --全部
Enemy_Front = Vector3.New(0,-1.3, 0),--前面一列
Enemy_Behind = Vector3.New(0.5,-1.5 , 0), --后面一列
Enemy_Behind = Vector3.New(1,-1.5 , 0), --后面一列
Enemy_COL_1 = Vector3.New(-0.5,-0.7, 0),--第一行
Enemy_COL_2 = Vector3.New(-0.5,-1.5, 0),--第二行
Enemy_COL_3 = Vector3.New(-0.5,-2.8, 0),--第三行
@ -431,7 +431,11 @@ function SkillCaster:GetMovePosition(skill)
end
elseif chooseLimit == 3 then --队列
local col = (targetPos-1) % 3 + 1
return targetCamp == 0 and MoveMentPosition["My_COL_"..col] or MoveMentPosition["Enemy_COL_"..col]
if targetPos <= 3 then
return targetCamp == 0 and MoveMentPosition["My_COL_"..col] or MoveMentPosition["Enemy_COL_"..col]
else
return targetCamp == 0 and (MoveMentPosition["My_COL_"..col] + Vector3.New(-1,0,0)) or (MoveMentPosition["Enemy_COL_"..col] + Vector3.New(1,0,0))
end
end
return MoveMentPosition.My_All
end