From d5e5b30b4ae4a1472d9f8ebbd040a4e6f33a12f7 Mon Sep 17 00:00:00 2001 From: "DESKTOP-RH64908\\Administrator" Date: Tue, 19 Aug 2025 17:57:22 +0800 Subject: [PATCH] 1 --- .../~Lua/Modules/Battle/View/Unit/SkillCaster.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/SkillCaster.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/SkillCaster.lua index 01718c39f4..a016dc7b9f 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/SkillCaster.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/SkillCaster.lua @@ -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