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