【鸿蒙阵修改】

dev_chengFeng
guowei 2020-12-28 14:33:30 +08:00
parent d55b0d58e9
commit 3b3467d94b
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ function EnvoyItem:OnOpen()
if self.data.time - GetTimeStamp() > 0 then
local content = ""
local money = (self.data.time - GetTimeStamp()) * 432
local money = math.ceil(self.data.time - GetTimeStamp()) / 432
content =string.format("是否花费%d妖晶直接恢复",money)
MsgPanel.ShowTwo(content,function ()

View File

@ -212,7 +212,7 @@ function this.SingleBoxDataShow(go,boxData,index)
print(" 添加等级 ",HarmonyManager.GongMingBox)
else
local content = ""
local money = (HarmonyManager.hongmengHeroInfos[boxData.Id].time - GetTimeStamp()) / 432
local money = math.ceil(HarmonyManager.hongmengHeroInfos[boxData.Id].time - GetTimeStamp()) / 432
content =string.format("是否花费%d妖晶直接恢复",money)
MsgPanel.ShowTwo(content,function ()