【洞府】======升级报错修改
parent
dbfe9e32ee
commit
f6afa8fb26
|
|
@ -3,7 +3,7 @@ local this = {}
|
|||
local HomeLand = ConfigManager.GetConfig(ConfigName.HomeLand)
|
||||
local HomeLandLevel = ConfigManager.GetConfig(ConfigName.HomeLandLevel)
|
||||
local HomeLandTask = ConfigManager.GetConfig(ConfigName.HomeLandTask)
|
||||
local price = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig,1120).Price
|
||||
--local price = ConfigManager.GetConfigData(ConfigName.RechargeCommodityConfig,1120).Price
|
||||
--传入父脚本模块
|
||||
local parent
|
||||
--传入特效层级
|
||||
|
|
@ -55,7 +55,7 @@ function this:Refresh()
|
|||
this.text2.text = "每日可使用<color=#d6821a>五次特权加速</color>功能,每次可减少<color=#d6821a>8小时</color>建筑升级时间"
|
||||
this.text3.text = "购买后赠送<color=#d6821a>唤元神符*2</color>以及<color=#d6821a>金币*150万</color>"
|
||||
this.leftTime.text = "购买后持续30天"
|
||||
this.btnText.text = string.format("%s元",price)
|
||||
--this.btnText.text = string.format("%s元",price)
|
||||
Util.SetGray(this.btn,false)
|
||||
this.btn:GetComponent("Button").enabled = true
|
||||
local data = PrivilegeManager.GetSerData(4022)
|
||||
|
|
|
|||
Loading…
Reference in New Issue