逍遥游脚本修改
parent
7b40a855b9
commit
d97142bb6d
|
|
@ -170,7 +170,7 @@ end
|
||||||
|
|
||||||
--刷新界面事件入口按钮显示隐藏
|
--刷新界面事件入口按钮显示隐藏
|
||||||
function this.RefreshEventBtn()
|
function this.RefreshEventBtn()
|
||||||
this.UpdateYunyouVleShow()
|
this.UpdateYunYouVleShow()
|
||||||
if XiaoYaoManager.luckyluckyTurnTableTimes > 0 and (XiaoYaoManager.luckyluckyTurnTableRemainTime - PlayerManager.serverTime > 0) then
|
if XiaoYaoManager.luckyluckyTurnTableTimes > 0 and (XiaoYaoManager.luckyluckyTurnTableRemainTime - PlayerManager.serverTime > 0) then
|
||||||
this.rouleBtn:SetActive(true)
|
this.rouleBtn:SetActive(true)
|
||||||
else
|
else
|
||||||
|
|
@ -516,7 +516,7 @@ function this.ShowCountTime()
|
||||||
this.timer = Timer.New(function ()
|
this.timer = Timer.New(function ()
|
||||||
local leftTime = AutoRecoverManager.GetRecoverTime(UpViewRechargeType.YunYouVle)
|
local leftTime = AutoRecoverManager.GetRecoverTime(UpViewRechargeType.YunYouVle)
|
||||||
if leftTime<=0 then
|
if leftTime<=0 then
|
||||||
this.UpdateYunyouVleShow()
|
this.UpdateYunYouVleShow()
|
||||||
end
|
end
|
||||||
if curValue>=maxValue then
|
if curValue>=maxValue then
|
||||||
-- 回复满了,在地图外面可以停止计时器
|
-- 回复满了,在地图外面可以停止计时器
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue