顶着复活中跑
parent
330c34a0b8
commit
fee12d7063
|
@ -339,11 +339,6 @@ end
|
||||||
|
|
||||||
-- 随机一个位置给大爷走走
|
-- 随机一个位置给大爷走走
|
||||||
function SingleExplorePlayerView:SetRoleHitTarget()
|
function SingleExplorePlayerView:SetRoleHitTarget()
|
||||||
if self.activeState == 0 then
|
|
||||||
self:SetWalkDir(WALK_DIR.IDLE_FRONT)
|
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
if self.thread then
|
if self.thread then
|
||||||
coroutine.stop(self.thread)
|
coroutine.stop(self.thread)
|
||||||
self.thread=nil
|
self.thread=nil
|
||||||
|
@ -352,6 +347,10 @@ function SingleExplorePlayerView:SetRoleHitTarget()
|
||||||
self.parent.ReleaseIconList()
|
self.parent.ReleaseIconList()
|
||||||
end
|
end
|
||||||
self.HaveIconRequest = 0
|
self.HaveIconRequest = 0
|
||||||
|
if self.activeState == 0 then
|
||||||
|
self:SetWalkDir(WALK_DIR.IDLE_FRONT)
|
||||||
|
return
|
||||||
|
end
|
||||||
self.thread = coroutine.start(function()
|
self.thread = coroutine.start(function()
|
||||||
--LogGreen("随机一个位置给大爷走走")
|
--LogGreen("随机一个位置给大爷走走")
|
||||||
--local eventPoint = self.parent.AsideTriggerJudge(self.roleCurPos,self.isSelf)
|
--local eventPoint = self.parent.AsideTriggerJudge(self.roleCurPos,self.isSelf)
|
||||||
|
|
Loading…
Reference in New Issue