【逍遥游】转盘再加速

dev_chengFeng
gaoxin 2021-10-21 16:43:19 +08:00
parent aa9ce7f992
commit f4912f5772
1 changed files with 12 additions and 12 deletions

View File

@ -98,18 +98,18 @@ function XiaoYaoLuckyTurnTablePopup:test(itemId)
end,0.1,10,true)
this.turnEffect2:Start()
coroutine.wait(1)
--减速阶段
if this.turnEffect2 then
this.turnEffect2:Stop()
this.turnEffect2 = nil
end
this.turnEffect2 = Timer.New(function()
this:tableTurnEffect(1/t)
t=t-3.3
end,0.1,10,true)
this.turnEffect2:Start()
coroutine.wait(1)
this:tableTurnEffect(0.2,itemId)
-- --减速阶段
-- if this.turnEffect2 then
-- this.turnEffect2:Stop()
-- this.turnEffect2 = nil
-- end
-- this.turnEffect2 = Timer.New(function()
-- this:tableTurnEffect(1/t)
-- t=t-3.3
-- end,0.1,10,true)
-- this.turnEffect2:Start()
-- coroutine.wait(1)
this:tableTurnEffect(0.1,itemId)
end)
end