tcx_xiyou_yueNan
parent
453de72c0b
commit
cd888fe6c0
|
|
@ -655,6 +655,7 @@ SHOP_TYPE = {
|
|||
QIANKUNBOX_SHOP = 58, --宝囊限时商店
|
||||
CELEBRATION_SHOP = 62, --社稷大典商店
|
||||
XINJIANG_SHOP = 64, --新将商店
|
||||
XINGCHEN_SHOP = 70, --星辰商店
|
||||
POZHENZHUXIAN_SHOP = 72, --破阵诛仙商店
|
||||
YONGGUANSANJUN_SHOP = 73, --勇冠三军商店
|
||||
CHIZHANFENGYUN_SHOP = 74, --叱咤风云商店
|
||||
|
|
|
|||
|
|
@ -794,7 +794,7 @@ function this.CountShopRefreshLeftTime(shopId)
|
|||
--- 按时间长度刷新
|
||||
elseif shopInfo.RefreshType[1] == 3 then
|
||||
local shopData = this.GetShopDataByType(shopType)
|
||||
if shopType == SHOP_TYPE.GUILD_SHOP or shopType == SHOP_TYPE.QIJIE_SHOP then
|
||||
if shopType == SHOP_TYPE.GUILD_SHOP or shopType == SHOP_TYPE.QIJIE_SHOP or shopType == SHOP_TYPE.XINGCHEN_SHOP then
|
||||
local lastRefreshTime = shopData.lastRefreshTime / 1000
|
||||
local deltaSeconds = shopInfo.RefreshType[2] * 60 * 60
|
||||
local lastTime = lastRefreshTime + deltaSeconds - GetTimeStamp()
|
||||
|
|
|
|||
|
|
@ -299,7 +299,13 @@ function this:StartTimeCount()
|
|||
if localSelf.isShowRefreshTime then
|
||||
local refreshTime = ShopManager.GetShopRefreshLeftTime(localSelf.ShopType)
|
||||
if refreshTime >= 0 then
|
||||
localSelf.refreshTime:GetComponent("Text").text = TimeToHMS(refreshTime)
|
||||
if refreshTime> 86400 then
|
||||
localSelf.refreshTime:GetComponent("Text").text = TimeToDH(refreshTime)
|
||||
|
||||
else
|
||||
localSelf.refreshTime:GetComponent("Text").text = TimeToHMS(refreshTime)
|
||||
end
|
||||
|
||||
elseif refreshTime < 0 and localSelf.ShopType == SHOP_TYPE.ARENA_SHOP then
|
||||
JumpManager.GoJump(20003)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue