parent
6dfbe197ff
commit
0aa77529e8
|
|
@ -447,8 +447,8 @@ function FightUnitView:GetEffectPosition(skill)
|
|||
local chooseLimit = math.floor(chooseId / 10000) % 10
|
||||
local targets = skill:GetDirectTargets()
|
||||
|
||||
local targetCamp = targets[1].camp
|
||||
local targetPos = targets[1].position
|
||||
local targetCamp = targets[1] and targets[1].camp or 0
|
||||
local targetPos = targets[1] and targets[1].position or 0
|
||||
|
||||
local invert = targetCamp == 0 and 1 or -1
|
||||
|
||||
|
|
|
|||
|
|
@ -1481,7 +1481,7 @@ function RoleView:GetFightMovePos(skill)
|
|||
local chooseNum = chooseId % 10
|
||||
local targets = skill:GetDirectTargets()
|
||||
|
||||
local targetCamp
|
||||
local targetCamp = 0
|
||||
local targetPos
|
||||
-- local targetCamp = targets[1].camp
|
||||
-- local targetPos = targets[1].position
|
||||
|
|
|
|||
Loading…
Reference in New Issue