特训升级界面修改
parent
9c58ff5ebb
commit
fdd4718a13
|
@ -4,6 +4,7 @@ local this = TrainBuildLvUpPanel
|
|||
local HomeLand = ConfigManager.GetConfig(ConfigName.TrainBuild)
|
||||
local HomeLandLevel = ConfigManager.GetConfig(ConfigName.TrainBuildLevel)
|
||||
local costOneSec = ConfigManager.GetConfigData(ConfigName.SpecialConfig,170).Value
|
||||
local itemConfig=ConfigManager.GetConfigData(ConfigName.ItemConfig,16)
|
||||
--传入父脚本模块
|
||||
local parent
|
||||
--传入特效层级
|
||||
|
@ -51,7 +52,7 @@ function TrainBuildLvUpPanel:BindEvent()
|
|||
Util.AddClick(this.fastDoneBtn, function()
|
||||
-- local priviId = PrivilegeManager.GetPrivilegeRemainValue()
|
||||
TrainBuildManager.ResumeCost(data.dataSingle,string.split(costOneSec,"#"),function (num)
|
||||
MsgPanel.ShowTwo(string.format("是否花费%s妖晶立即升级?",endCostNum),function() end,function()
|
||||
MsgPanel.ShowTwo(string.format("是否花费%s%s立即升级?",endCostNum,itemConfig.Name),function() end,function()
|
||||
NetManager.TrainingArchitectureUpRequest(data.dataMain.Id,2,function ()
|
||||
--特效
|
||||
Obj.effect2:SetActive(true)
|
||||
|
|
Loading…
Reference in New Issue