修改位置

onepiece_demo_arena
xiejun 2023-12-14 18:36:01 +08:00
parent 836465ac8d
commit 781e0d5f6b
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ function SkillCaster:OnSkillCast(skill)
end
LogError(tostring(postion))
LogError(tostring(Vector3.New(postion.x-(self.owner.camp==0 and posx or(-posx)),postion.y+posy,postion.z)))
self.owner.RoleLiveGO.transform:DOLocalMove(Vector3.New(postion.x-(self.owner.camp==0 and posx or(-posx)),postion.y+posy,postion.z), combat.AttackDisplaceTime/1000, false):OnComplete(function ()
self.owner.RoleLiveGO.transform:DOMove(Vector3.New(postion.x-(self.owner.camp==0 and posx or(-posx)),postion.y+posy,startPos.z), combat.AttackDisplaceTime/1000, false):OnComplete(function ()
if self.owner.OnSkillPlay then
self.owner:OnSkillPlay(localtype,combat)
end
@ -358,7 +358,7 @@ local MoveMentPosition = {
Enemy_All = Vector3.New(50, 0, 0), --全部
Enemy_Front = Vector3.New(0, 0, 0),--前面一列
Enemy_Behind = Vector3.New(990,-551 , 0), --后面一列
Enemy_Behind = Vector3.New(1.5,-1 , 0), --后面一列
Enemy_COL_1 = Vector3.New(990, 916, 0),--第一行
Enemy_COL_2 = Vector3.New(990, 378, 0),--第二行
Enemy_COL_3 = Vector3.New(990, -250, 0),--第三行