Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
4e89351ef8
|
@ -92,23 +92,11 @@ function XiaoYaoLuckyTurnTablePopup:test(itemId)
|
|||
this.turnEffect2:Stop()
|
||||
this.turnEffect2 = nil
|
||||
end
|
||||
this.turnEffect2 = Timer.New(function()
|
||||
for i = 1 , 10 do
|
||||
this:tableTurnEffect(1/t)
|
||||
t=t+5
|
||||
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)
|
||||
coroutine.wait(0.1)
|
||||
end
|
||||
this:tableTurnEffect(0.1,itemId)
|
||||
end)
|
||||
end
|
||||
|
@ -132,7 +120,6 @@ function XiaoYaoLuckyTurnTablePopup:tableTurnEffect(speed,itemId)
|
|||
SoundManager.PlaySound(SoundConfig.Sound_zp)
|
||||
SoundManager.PlaySound(SoundConfig.UI_Xingyunzhuanpan)
|
||||
index = index + 1
|
||||
--LogGreen("index == "..index)
|
||||
--检测最后的奖励
|
||||
if itemId and index == itemId then
|
||||
this.turnEffect:Stop()
|
||||
|
|
Loading…
Reference in New Issue