抽卡动画修改提交

dev_chengFeng
jiaoyangna 2021-07-20 14:52:55 +08:00
parent f0337c6ce8
commit 058cd565d3
1 changed files with 5 additions and 4 deletions

View File

@ -360,17 +360,18 @@ function this:SetIndex()
LOY = 2
end
local offSet = math.abs(this.itemList[i].index - 2)
local isenter = true
local localIsenter = true
self.thread = coroutine.start(function()
this.RemoveTrigger()
while(offSet > 0) do
if isenter then
isenter = false
if localIsenter then
localIsenter = false
this.MoveTo(LOY)
coroutine.wait(0.25)
offSet = offSet - 1
this.SortItemList()
isenter = true
coroutine.wait(0.01)
localIsenter = true
end
coroutine.wait(0.01)
end