SK_LongZhu
parent
0dbc582fab
commit
d5e5b30b4a
|
|
@ -366,7 +366,7 @@ local FullEffectPosition = {
|
||||||
local MoveMentPosition = {
|
local MoveMentPosition = {
|
||||||
My_All = Vector3.New(0,-1.3, 0),
|
My_All = Vector3.New(0,-1.3, 0),
|
||||||
My_Front = 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_1 = Vector3.New(0.5,-0.7, 0),
|
||||||
My_COL_2 = Vector3.New(0.5,-1.5, 0),
|
My_COL_2 = Vector3.New(0.5,-1.5, 0),
|
||||||
My_COL_3 = Vector3.New(0.5,-2.8, 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_All = Vector3.New(0,-1.3, 0), --全部
|
||||||
Enemy_Front = 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_1 = Vector3.New(-0.5,-0.7, 0),--第一行
|
||||||
Enemy_COL_2 = Vector3.New(-0.5,-1.5, 0),--第二行
|
Enemy_COL_2 = Vector3.New(-0.5,-1.5, 0),--第二行
|
||||||
Enemy_COL_3 = Vector3.New(-0.5,-2.8, 0),--第三行
|
Enemy_COL_3 = Vector3.New(-0.5,-2.8, 0),--第三行
|
||||||
|
|
@ -431,7 +431,11 @@ function SkillCaster:GetMovePosition(skill)
|
||||||
end
|
end
|
||||||
elseif chooseLimit == 3 then --队列
|
elseif chooseLimit == 3 then --队列
|
||||||
local col = (targetPos-1) % 3 + 1
|
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
|
end
|
||||||
return MoveMentPosition.My_All
|
return MoveMentPosition.My_All
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue