game_17
parent
c282e19b5e
commit
47a1c94495
|
@ -88,11 +88,11 @@ function this.test(itemId)
|
|||
if not this.turnEffect2 then
|
||||
this.turnEffect2 = Timer.New(function()
|
||||
this.tableTurnEffect(1/t)
|
||||
t=t-5
|
||||
end,0.2,10,true)
|
||||
t=t-3.3
|
||||
end,0.2,10,true)
|
||||
this.turnEffect2:Start()
|
||||
end
|
||||
coroutine.wait(2)
|
||||
coroutine.wait(2)
|
||||
this.tableTurnEffect(0.4,itemId)
|
||||
end)
|
||||
end
|
||||
|
@ -100,7 +100,7 @@ end
|
|||
--设置速度
|
||||
local index = 1
|
||||
function this.tableTurnEffect(speed,itemId)
|
||||
if this.turnEffect then
|
||||
if this.turnEffect then
|
||||
this.turnEffect:Stop()
|
||||
this.turnEffect = nil
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue